| Index: trunk/src/extensions/browser/test_extensions_browser_client.h
|
| ===================================================================
|
| --- trunk/src/extensions/browser/test_extensions_browser_client.h (revision 283800)
|
| +++ trunk/src/extensions/browser/test_extensions_browser_client.h (working copy)
|
| @@ -15,14 +15,10 @@
|
| // this class should call ExtensionsBrowserClient::Set() with its instance.
|
| class TestExtensionsBrowserClient : public ExtensionsBrowserClient {
|
| public:
|
| - // |main_context| is required and must not be an incognito context.
|
| + // |context| is required and must not be an incognito context.
|
| explicit TestExtensionsBrowserClient(content::BrowserContext* main_context);
|
| virtual ~TestExtensionsBrowserClient();
|
|
|
| - void set_process_manager_delegate(ProcessManagerDelegate* delegate) {
|
| - process_manager_delegate_ = delegate;
|
| - }
|
| -
|
| // Associates an incognito context with |main_context_|.
|
| void SetIncognitoContext(content::BrowserContext* incognito_context);
|
|
|
| @@ -63,7 +59,10 @@
|
| virtual void GetEarlyExtensionPrefsObservers(
|
| content::BrowserContext* context,
|
| std::vector<ExtensionPrefsObserver*>* observers) const OVERRIDE;
|
| - virtual ProcessManagerDelegate* GetProcessManagerDelegate() const OVERRIDE;
|
| + virtual bool DeferLoadingBackgroundHosts(
|
| + content::BrowserContext* context) const OVERRIDE;
|
| + virtual bool IsBackgroundPageAllowed(content::BrowserContext* context) const
|
| + OVERRIDE;
|
| virtual scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate()
|
| OVERRIDE;
|
| virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE;
|
| @@ -83,9 +82,6 @@
|
| content::BrowserContext* main_context_; // Not owned.
|
| content::BrowserContext* incognito_context_; // Not owned, defaults to NULL.
|
|
|
| - // Not owned, defaults to NULL.
|
| - ProcessManagerDelegate* process_manager_delegate_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient);
|
| };
|
|
|
|
|