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

Side by Side Diff: chrome/browser/extensions/extension_system.h

Issue 10830278: Fix: create ExtensionInfoMap earlier. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better fix Created 8 years, 4 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 | « no previous file | chrome/browser/extensions/extension_system.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // shared between normal and incognito profiles. 178 // shared between normal and incognito profiles.
179 class Shared : public ProfileKeyedService { 179 class Shared : public ProfileKeyedService {
180 public: 180 public:
181 explicit Shared(Profile* profile); 181 explicit Shared(Profile* profile);
182 virtual ~Shared(); 182 virtual ~Shared();
183 183
184 // Initialization takes place in phases. 184 // Initialization takes place in phases.
185 virtual void InitPrefs(); 185 virtual void InitPrefs();
186 // This must not be called until all the providers have been created. 186 // This must not be called until all the providers have been created.
187 void RegisterManagementPolicyProviders(); 187 void RegisterManagementPolicyProviders();
188 void InitInfoMap();
189 void Init(bool extensions_enabled); 188 void Init(bool extensions_enabled);
190 189
191 StateStore* state_store(); 190 StateStore* state_store();
192 ExtensionService* extension_service(); 191 ExtensionService* extension_service();
193 ManagementPolicy* management_policy(); 192 ManagementPolicy* management_policy();
194 UserScriptMaster* user_script_master(); 193 UserScriptMaster* user_script_master();
195 ExtensionInfoMap* info_map(); 194 ExtensionInfoMap* info_map();
196 LazyBackgroundTaskQueue* lazy_background_task_queue(); 195 LazyBackgroundTaskQueue* lazy_background_task_queue();
197 MessageService* message_service(); 196 MessageService* message_service();
198 EventRouter* event_router(); 197 EventRouter* event_router();
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 scoped_ptr<ApiResourceManager< 233 scoped_ptr<ApiResourceManager<
235 UsbDeviceResource> > usb_device_resource_manager_; 234 UsbDeviceResource> > usb_device_resource_manager_;
236 scoped_ptr<RulesRegistryService> rules_registry_service_; 235 scoped_ptr<RulesRegistryService> rules_registry_service_;
237 236
238 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); 237 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl);
239 }; 238 };
240 239
241 } // namespace extensions 240 } // namespace extensions
242 241
243 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ 242 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698