1 // Copyright (c) 2013 The Chromium Embedded Framework Authors. All rights 2 // reserved. Use of this source code is governed by a BSD-style license that 3 // can be found in the LICENSE file. 4 5 #include "libcef/browser/net/scheme_handler.h" 6 7 #include <string> 8 9 #include "libcef/browser/net/chrome_scheme_handler.h" 10 #include "libcef/browser/net/devtools_scheme_handler.h" 11 #include "libcef/common/net/scheme_registration.h" 12 #include "libcef/features/runtime.h" 13 14 #include "content/public/common/url_constants.h" 15 16 namespace scheme { 17 RegisterInternalHandlers(CefIOThreadState * iothread_state)18void RegisterInternalHandlers(CefIOThreadState* iothread_state) { 19 if (!cef::IsAlloyRuntimeEnabled()) 20 return; 21 22 scheme::RegisterChromeDevToolsHandler(iothread_state); 23 } 24 25 } // namespace scheme 26