cef/tests/cefclient/scheme_test.h

29 lines
802 B
C++

// Copyright (c) 2009 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.
#ifndef CEF_TESTS_CEFCLIENT_SCHEME_TEST_H_
#define CEF_TESTS_CEFCLIENT_SCHEME_TEST_H_
#pragma once
#include <vector>
#include "include/cef_base.h"
class CefBrowser;
class CefSchemeRegistrar;
namespace client {
namespace scheme_test {
// Register the scheme.
void RegisterCustomSchemes(CefRefPtr<CefSchemeRegistrar> registrar,
std::vector<CefString>& cookiable_schemes);
// Create the scheme handler. Called from both the browser and renderer process.
void RegisterSchemeHandlers();
} // namespace scheme_test
} // namespace client
#endif // CEF_TESTS_CEFCLIENT_SCHEME_TEST_H_