cef/tests/cefclient/common/scheme_test_common.cc

17 lines
528 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::scheme_test {
void RegisterCustomSchemes(CefRawPtr<CefSchemeRegistrar> registrar) {
registrar->AddCustomScheme(
"client", CEF_SCHEME_OPTION_STANDARD | CEF_SCHEME_OPTION_CORS_ENABLED);
}
} // namespace client::scheme_test