2015-01-30 20:34:58 +01:00
|
|
|
// 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.
|
|
|
|
|
2016-11-18 00:52:42 +01:00
|
|
|
#include "tests/cefclient/common/scheme_test_common.h"
|
2015-01-30 20:34:58 +01:00
|
|
|
|
|
|
|
#include "include/cef_scheme.h"
|
|
|
|
|
2024-01-20 03:22:56 +01:00
|
|
|
namespace client::scheme_test {
|
2015-01-30 20:34:58 +01:00
|
|
|
|
2021-04-09 20:34:45 +02:00
|
|
|
void RegisterCustomSchemes(CefRawPtr<CefSchemeRegistrar> registrar) {
|
2019-02-26 17:45:12 +01:00
|
|
|
registrar->AddCustomScheme(
|
|
|
|
"client", CEF_SCHEME_OPTION_STANDARD | CEF_SCHEME_OPTION_CORS_ENABLED);
|
2015-01-30 20:34:58 +01:00
|
|
|
}
|
|
|
|
|
2024-01-20 03:22:56 +01:00
|
|
|
} // namespace client::scheme_test
|