mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Make CefBrowserContext an abstract base class (see issue #2969)
Existing CefBrowserContext functionality is now split between CefBrowserContext and AlloyBrowserContext. Runtime implementations of CefBrowserContext will provide access to the content::BrowserContext and Profile types via different inheritance paths. For example, the Alloy runtime uses ChromeProfileAlloy and the Chrome runtime uses ProfileImpl. This change also renames CefResourceContext to CefIOThreadState to more accurately represent its purpose as it no longer needs to extend content::ResourceContext.
This commit is contained in:
@ -6,14 +6,14 @@
|
||||
#define CEF_LIBCEF_BROWSER_NET_DEVTOOLS_SCHEME_HANDLER_H_
|
||||
#pragma once
|
||||
|
||||
class CefResourceContext;
|
||||
class CefIOThreadState;
|
||||
|
||||
namespace scheme {
|
||||
|
||||
extern const char kChromeDevToolsHost[];
|
||||
|
||||
// Register the chrome-devtools scheme handler.
|
||||
void RegisterChromeDevToolsHandler(CefResourceContext* resource_context);
|
||||
void RegisterChromeDevToolsHandler(CefIOThreadState* iothread_state);
|
||||
|
||||
} // namespace scheme
|
||||
|
||||
|
Reference in New Issue
Block a user