mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2024-12-27 10:03:31 +01:00
20 lines
624 B
C++
20 lines
624 B
C++
// Copyright (c) 2012 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.
|
|
|
|
#include "tests/cefclient/common/scheme_test_common.h"
|
|
|
|
#include "include/cef_scheme.h"
|
|
|
|
namespace client {
|
|
namespace scheme_test {
|
|
|
|
void RegisterCustomSchemes(CefRawPtr<CefSchemeRegistrar> registrar,
|
|
std::vector<CefString>& cookiable_schemes) {
|
|
registrar->AddCustomScheme(
|
|
"client", CEF_SCHEME_OPTION_STANDARD | CEF_SCHEME_OPTION_CORS_ENABLED);
|
|
}
|
|
|
|
} // namespace scheme_test
|
|
} // namespace client
|