2013-06-04 19:41:37 +02:00
|
|
|
// Copyright (c) 2013 The Chromium Embedded Framework Authors. All rights
|
2012-10-08 19:47:37 +02:00
|
|
|
// reserved. Use of this source code is governed by a BSD-style license that
|
|
|
|
// can be found in the LICENSE file.
|
|
|
|
|
2015-11-26 03:53:12 +01:00
|
|
|
#include "libcef/browser/net/scheme_handler.h"
|
2013-06-04 19:41:37 +02:00
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2015-11-26 03:53:12 +01:00
|
|
|
#include "libcef/browser/net/chrome_scheme_handler.h"
|
|
|
|
#include "libcef/browser/net/devtools_scheme_handler.h"
|
|
|
|
#include "libcef/common/net/scheme_registration.h"
|
2020-07-01 02:57:00 +02:00
|
|
|
#include "libcef/features/runtime.h"
|
2012-10-08 19:47:37 +02:00
|
|
|
|
2013-03-12 21:23:24 +01:00
|
|
|
#include "content/public/common/url_constants.h"
|
|
|
|
|
2012-10-08 19:47:37 +02:00
|
|
|
namespace scheme {
|
|
|
|
|
2020-07-01 02:57:00 +02:00
|
|
|
void RegisterInternalHandlers(CefIOThreadState* iothread_state) {
|
|
|
|
if (!cef::IsAlloyRuntimeEnabled())
|
|
|
|
return;
|
|
|
|
|
|
|
|
scheme::RegisterChromeDevToolsHandler(iothread_state);
|
2019-04-30 22:45:13 +02:00
|
|
|
}
|
|
|
|
|
2012-10-08 19:47:37 +02:00
|
|
|
} // namespace scheme
|