1 // Copyright (c) 2012 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 #include "tests/cefclient/common/scheme_test_common.h" 6 7 #include "include/cef_scheme.h" 8 9 namespace client { 10 namespace scheme_test { 11 RegisterCustomSchemes(CefRawPtr<CefSchemeRegistrar> registrar)12void RegisterCustomSchemes(CefRawPtr<CefSchemeRegistrar> registrar) { 13 registrar->AddCustomScheme( 14 "client", CEF_SCHEME_OPTION_STANDARD | CEF_SCHEME_OPTION_CORS_ENABLED); 15 } 16 17 } // namespace scheme_test 18 } // namespace client 19