| Index: extensions/browser/test_extensions_browser_client.h
|
| diff --git a/extensions/browser/test_extensions_browser_client.h b/extensions/browser/test_extensions_browser_client.h
|
| index b3c517e9fbb99fbae1eac4dcd6e79166a85c8491..632ed934a0e3b6d58c0ea6389a88cf235272a778 100644
|
| --- a/extensions/browser/test_extensions_browser_client.h
|
| +++ b/extensions/browser/test_extensions_browser_client.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/compiler_specific.h"
|
| #include "extensions/browser/extensions_browser_client.h"
|
| +#include "extensions/browser/updater/extension_cache.h"
|
|
|
| namespace extensions {
|
|
|
| @@ -25,6 +26,9 @@ class TestExtensionsBrowserClient : public ExtensionsBrowserClient {
|
| void set_extension_system_factory(ExtensionSystemProvider* factory) {
|
| extension_system_factory_ = factory;
|
| }
|
| + void set_extension_cache(scoped_ptr<ExtensionCache> extension_cache) {
|
| + extension_cache_ = extension_cache.Pass();
|
| + }
|
|
|
| // Associates an incognito context with |main_context_|.
|
| void SetIncognitoContext(content::BrowserContext* incognito_context);
|
| @@ -85,6 +89,7 @@ class TestExtensionsBrowserClient : public ExtensionsBrowserClient {
|
| const std::string& event_name,
|
| scoped_ptr<base::ListValue> args) override;
|
| virtual net::NetLog* GetNetLog() override;
|
| + virtual ExtensionCache* GetExtensionCache() override;
|
|
|
| private:
|
| content::BrowserContext* main_context_; // Not owned.
|
| @@ -96,6 +101,8 @@ class TestExtensionsBrowserClient : public ExtensionsBrowserClient {
|
| // Not owned, defaults to NULL.
|
| ExtensionSystemProvider* extension_system_factory_;
|
|
|
| + scoped_ptr<ExtensionCache> extension_cache_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient);
|
| };
|
|
|
|
|