Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Unified Diff: extensions/shell/browser/shell_browser_context.h

Issue 615583003: Introduce NetworkDelegate's implementation in extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: extensions/shell/browser/shell_browser_context.h
diff --git a/extensions/shell/browser/shell_browser_context.h b/extensions/shell/browser/shell_browser_context.h
index 305ab2b763b70b0a991ce73de894be6715c3612e..a68198b73c1eb2210ab22efab88a0ede7343f119 100644
--- a/extensions/shell/browser/shell_browser_context.h
+++ b/extensions/shell/browser/shell_browser_context.h
@@ -12,6 +12,7 @@
namespace extensions {
+class InfoMap;
class ShellSpecialStoragePolicy;
// The BrowserContext used by the content, apps and extensions systems in
@@ -25,6 +26,17 @@ class ShellBrowserContext : public content::ShellBrowserContext {
virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE;
virtual storage::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE;
+ // content::ShellBrowserContext implementation.
+ virtual content::ShellURLRequestContextGetter* CreateURLRequestContextGetter(
+ content::ProtocolHandlerMap* protocol_handlers,
+ content::URLRequestInterceptorScopedVector request_interceptors) OVERRIDE;
+
+ net::URLRequestContextGetter* CreateRequestContext(
+ content::ProtocolHandlerMap* protocol_handlers,
+ content::URLRequestInterceptorScopedVector request_interceptors,
+ content::BrowserContext* browser_context,
+ InfoMap* extension_info_map);
+
// HACK: Pad the virtual function table so we trip an assertion if someone
// tries to use |this| as a Profile.
virtual void ProfileFunctionCallOnNonProfileBrowserContext1();

Powered by Google App Engine
This is Rietveld 408576698