Mac/Linux: Fix compile error.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1140 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
72e03b3cd5
commit
af4245af33
|
@ -9,6 +9,19 @@
|
||||||
#include "base/command_line.h"
|
#include "base/command_line.h"
|
||||||
#include "base/threading/thread.h"
|
#include "base/threading/thread.h"
|
||||||
|
|
||||||
|
static void OnRegisterCustomSchemes(
|
||||||
|
CefRefPtr<CefSchemeRegistrar> registrar) OVERRIDE {
|
||||||
|
// Bring in the scheme handler tests.
|
||||||
|
extern void RegisterSchemeHandlerCustomSchemes(
|
||||||
|
CefRefPtr<CefSchemeRegistrar> registrar);
|
||||||
|
RegisterSchemeHandlerCustomSchemes(registrar);
|
||||||
|
|
||||||
|
// Bring in the cookie tests.
|
||||||
|
extern void RegisterCookieCustomSchemes(
|
||||||
|
CefRefPtr<CefSchemeRegistrar> registrar);
|
||||||
|
RegisterCookieCustomSchemes(registrar);
|
||||||
|
}
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
// Thread used to run the test suite.
|
// Thread used to run the test suite.
|
||||||
|
@ -46,15 +59,7 @@ class ClientApp : public CefApp {
|
||||||
|
|
||||||
virtual void OnRegisterCustomSchemes(
|
virtual void OnRegisterCustomSchemes(
|
||||||
CefRefPtr<CefSchemeRegistrar> registrar) OVERRIDE {
|
CefRefPtr<CefSchemeRegistrar> registrar) OVERRIDE {
|
||||||
// Bring in the scheme handler tests.
|
::OnRegisterCustomSchemes(registrar);
|
||||||
extern void RegisterSchemeHandlerCustomSchemes(
|
|
||||||
CefRefPtr<CefSchemeRegistrar> registrar);
|
|
||||||
RegisterSchemeHandlerCustomSchemes(registrar);
|
|
||||||
|
|
||||||
// Bring in the cookie tests.
|
|
||||||
extern void RegisterCookieCustomSchemes(
|
|
||||||
CefRefPtr<CefSchemeRegistrar> registrar);
|
|
||||||
RegisterCookieCustomSchemes(registrar);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
Loading…
Reference in New Issue