2012-04-03 03:34:16 +02:00
|
|
|
// Copyright (c) 2009 The Chromium Embedded Framework Authors. All rights
|
|
|
|
// reserved. Use of this source code is governed by a BSD-style license that
|
|
|
|
// can be found in the LICENSE file.
|
|
|
|
|
2015-01-31 01:55:56 +01:00
|
|
|
#ifndef CEF_TESTS_CEFCLIENT_COMMON_SCHEME_TEST_COMMON_H_
|
|
|
|
#define CEF_TESTS_CEFCLIENT_COMMON_SCHEME_TEST_COMMON_H_
|
2012-04-03 03:34:16 +02:00
|
|
|
#pragma once
|
|
|
|
|
2012-06-19 18:29:49 +02:00
|
|
|
#include <vector>
|
2012-04-03 03:34:16 +02:00
|
|
|
|
2015-01-31 01:55:56 +01:00
|
|
|
#include "include/cef_scheme.h"
|
2012-04-03 03:34:16 +02:00
|
|
|
|
2015-01-22 21:21:21 +01:00
|
|
|
namespace client {
|
2012-04-24 20:01:48 +02:00
|
|
|
namespace scheme_test {
|
|
|
|
|
2015-02-03 00:18:16 +01:00
|
|
|
// Register the custom scheme name/type. This must be done in all processes.
|
|
|
|
// See browser/scheme_test.h for creation/registration of the custom scheme
|
|
|
|
// handler which only occurs in the browser process. Called from
|
|
|
|
// client_app_delegates_common.cc.
|
2017-02-07 22:25:11 +01:00
|
|
|
void RegisterCustomSchemes(CefRawPtr<CefSchemeRegistrar> registrar,
|
2012-06-19 18:29:49 +02:00
|
|
|
std::vector<CefString>& cookiable_schemes);
|
2012-04-24 20:01:48 +02:00
|
|
|
|
|
|
|
} // namespace scheme_test
|
2015-01-22 21:21:21 +01:00
|
|
|
} // namespace client
|
2012-04-03 03:34:16 +02:00
|
|
|
|
2015-01-31 01:55:56 +01:00
|
|
|
#endif // CEF_TESTS_CEFCLIENT_COMMON_SCHEME_TEST_COMMON_H_
|