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