Index: extensions/browser/extensions_browser_client.h |
diff --git a/extensions/browser/extensions_browser_client.h b/extensions/browser/extensions_browser_client.h |
index 481083678143578ef275355d251a8cb63f8a8b83..dd78811fb0f7920aea98cf688bdff1b08a6b3f97 100644 |
--- a/extensions/browser/extensions_browser_client.h |
+++ b/extensions/browser/extensions_browser_client.h |
@@ -29,7 +29,7 @@ class ExtensionsBrowserClient { |
virtual bool IsSameContext(content::BrowserContext* first, |
content::BrowserContext* second) = 0; |
- // Returns true if |context| has an off-the-record content associated with it. |
+ // Returns true if |context| has an off-the-record context associated with it. |
virtual bool HasOffTheRecordContext(content::BrowserContext* context) = 0; |
// Returns the off-the-record context associated with |context|. If |context| |
@@ -39,6 +39,15 @@ class ExtensionsBrowserClient { |
virtual content::BrowserContext* GetOffTheRecordContext( |
content::BrowserContext* context) = 0; |
+ // Return the original "recording" context. This method returns |context| if |
+ // |context| is not incognito. |
+ virtual content::BrowserContext* GetOriginalContext( |
+ content::BrowserContext* context) = 0; |
+ |
+ // Returns true if loading background pages should be deferred. |
+ virtual bool DeferLoadingBackgroundHosts( |
+ content::BrowserContext* context) const = 0; |
+ |
// Returns the single instance of |this|. |
static ExtensionsBrowserClient* Get(); |