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

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

Issue 334053003: Moves extension_icon_image and image_loader to extensions/browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: include fail Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « extensions/browser/extension_icon_image_unittest.cc ('k') | extensions/browser/image_loader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_
6 #define EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 16 matching lines...) Expand all
27 namespace net { 27 namespace net {
28 class NetworkDelegate; 28 class NetworkDelegate;
29 class URLRequest; 29 class URLRequest;
30 class URLRequestJob; 30 class URLRequestJob;
31 } 31 }
32 32
33 namespace extensions { 33 namespace extensions {
34 34
35 class ApiActivityMonitor; 35 class ApiActivityMonitor;
36 class AppSorting; 36 class AppSorting;
37 class ComponentExtensionResourceManager;
37 class Extension; 38 class Extension;
38 class ExtensionHostDelegate; 39 class ExtensionHostDelegate;
39 class ExtensionPrefsObserver; 40 class ExtensionPrefsObserver;
40 class ExtensionSystem; 41 class ExtensionSystem;
41 class ExtensionSystemProvider; 42 class ExtensionSystemProvider;
42 class InfoMap; 43 class InfoMap;
43 class RuntimeAPIDelegate; 44 class RuntimeAPIDelegate;
44 45
45 // Interface to allow the extensions module to make browser-process-specific 46 // Interface to allow the extensions module to make browser-process-specific
46 // queries of the embedder. Should be Set() once in the browser process. 47 // queries of the embedder. Should be Set() once in the browser process.
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 // Registers extension functions not belonging to the core extensions APIs. 167 // Registers extension functions not belonging to the core extensions APIs.
167 virtual void RegisterExtensionFunctions( 168 virtual void RegisterExtensionFunctions(
168 ExtensionFunctionRegistry* registry) const = 0; 169 ExtensionFunctionRegistry* registry) const = 0;
169 170
170 // Creates a RuntimeAPIDelegate responsible for handling extensions 171 // Creates a RuntimeAPIDelegate responsible for handling extensions
171 // management-related events such as update and installation on behalf of the 172 // management-related events such as update and installation on behalf of the
172 // core runtime API implementation. 173 // core runtime API implementation.
173 virtual scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( 174 virtual scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate(
174 content::BrowserContext* context) const = 0; 175 content::BrowserContext* context) const = 0;
175 176
177 // Returns the manager of resource bundles used in extensions. Returns NULL if
178 // the manager doesn't exist.
179 virtual ComponentExtensionResourceManager*
180 GetComponentExtensionResourceManager() = 0;
181
176 // Returns the single instance of |this|. 182 // Returns the single instance of |this|.
177 static ExtensionsBrowserClient* Get(); 183 static ExtensionsBrowserClient* Get();
178 184
179 // Initialize the single instance. 185 // Initialize the single instance.
180 static void Set(ExtensionsBrowserClient* client); 186 static void Set(ExtensionsBrowserClient* client);
181 }; 187 };
182 188
183 } // namespace extensions 189 } // namespace extensions
184 190
185 #endif // EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ 191 #endif // EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « extensions/browser/extension_icon_image_unittest.cc ('k') | extensions/browser/image_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698