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

Side by Side Diff: extensions/browser/test_extensions_browser_client.h

Issue 651403003: Remove //chrome deps from ExtensionDownloader (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_
6 #define EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "extensions/browser/extensions_browser_client.h" 9 #include "extensions/browser/extensions_browser_client.h"
10 #include "extensions/browser/updater/extension_cache.h" 10 #include "extensions/browser/updater/extension_cache.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 ExtensionFunctionRegistry* registry) const override; 83 ExtensionFunctionRegistry* registry) const override;
84 virtual scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( 84 virtual scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate(
85 content::BrowserContext* context) const override; 85 content::BrowserContext* context) const override;
86 virtual ComponentExtensionResourceManager* 86 virtual ComponentExtensionResourceManager*
87 GetComponentExtensionResourceManager() override; 87 GetComponentExtensionResourceManager() override;
88 virtual void BroadcastEventToRenderers( 88 virtual void BroadcastEventToRenderers(
89 const std::string& event_name, 89 const std::string& event_name,
90 scoped_ptr<base::ListValue> args) override; 90 scoped_ptr<base::ListValue> args) override;
91 virtual net::NetLog* GetNetLog() override; 91 virtual net::NetLog* GetNetLog() override;
92 virtual ExtensionCache* GetExtensionCache() override; 92 virtual ExtensionCache* GetExtensionCache() override;
93 virtual bool IsBackgroundUpdateAllowed() override;
94 virtual bool IsMinBrowserVersionSupported(
95 const std::string& min_version) override;
93 96
94 private: 97 private:
95 content::BrowserContext* main_context_; // Not owned. 98 content::BrowserContext* main_context_; // Not owned.
96 content::BrowserContext* incognito_context_; // Not owned, defaults to NULL. 99 content::BrowserContext* incognito_context_; // Not owned, defaults to NULL.
97 100
98 // Not owned, defaults to NULL. 101 // Not owned, defaults to NULL.
99 ProcessManagerDelegate* process_manager_delegate_; 102 ProcessManagerDelegate* process_manager_delegate_;
100 103
101 // Not owned, defaults to NULL. 104 // Not owned, defaults to NULL.
102 ExtensionSystemProvider* extension_system_factory_; 105 ExtensionSystemProvider* extension_system_factory_;
103 106
104 scoped_ptr<ExtensionCache> extension_cache_; 107 scoped_ptr<ExtensionCache> extension_cache_;
105 108
106 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient); 109 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient);
107 }; 110 };
108 111
109 } // namespace extensions 112 } // namespace extensions
110 113
111 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ 114 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « extensions/browser/extensions_browser_client.h ('k') | extensions/browser/test_extensions_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698