2012-04-03 03:34:16 +02:00
|
|
|
// 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
|
|
|
|
|
2012-06-19 18:29:49 +02:00
|
|
|
#include <vector>
|
2012-04-03 03:34:16 +02:00
|
|
|
#include "include/cef_base.h"
|
|
|
|
|
|
|
|
class CefBrowser;
|
2012-04-24 20:01:48 +02:00
|
|
|
class CefSchemeRegistrar;
|
2012-04-03 03:34:16 +02:00
|
|
|
|
2012-04-24 20:01:48 +02:00
|
|
|
namespace scheme_test {
|
|
|
|
|
|
|
|
// Register the scheme.
|
2012-06-19 18:29:49 +02:00
|
|
|
void RegisterCustomSchemes(CefRefPtr<CefSchemeRegistrar> registrar,
|
|
|
|
std::vector<CefString>& cookiable_schemes);
|
2012-04-24 20:01:48 +02:00
|
|
|
|
|
|
|
// Create the scheme handler.
|
|
|
|
void InitTest();
|
2012-04-03 03:34:16 +02:00
|
|
|
|
2012-04-24 20:01:48 +02:00
|
|
|
} // namespace scheme_test
|
2012-04-03 03:34:16 +02:00
|
|
|
|
|
|
|
#endif // CEF_TESTS_CEFCLIENT_SCHEME_TEST_H_
|