1 // Copyright (c) 2009 The Chromium Embedded Framework Authors. All rights 2 // reserved. Use of this source code is governed by a BSD-style license that 3 // can be found in the LICENSE file. 4 5 #ifndef CEF_TESTS_CEFCLIENT_COMMON_SCHEME_TEST_COMMON_H_ 6 #define CEF_TESTS_CEFCLIENT_COMMON_SCHEME_TEST_COMMON_H_ 7 #pragma once 8 9 #include <vector> 10 11 #include "include/cef_scheme.h" 12 13 namespace client { 14 namespace scheme_test { 15 16 // Register the custom scheme name/type. This must be done in all processes. 17 // See browser/scheme_test.h for creation/registration of the custom scheme 18 // handler which only occurs in the browser process. Called from 19 // client_app_delegates_common.cc. 20 void RegisterCustomSchemes(CefRawPtr<CefSchemeRegistrar> registrar); 21 22 } // namespace scheme_test 23 } // namespace client 24 25 #endif // CEF_TESTS_CEFCLIENT_COMMON_SCHEME_TEST_COMMON_H_ 26