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

Unified Diff: chrome/browser/extensions/extension_service.h

Issue 9053005: Delay some extension startup until after first run import. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_service.h
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
index 54ae90fe7bc901c50ae6257e32a565cee2a8da6a..3ce1a994e36a8217cbcb28eb4473eb07d116fa22 100644
--- a/chrome/browser/extensions/extension_service.h
+++ b/chrome/browser/extensions/extension_service.h
@@ -282,8 +282,14 @@ class ExtensionService
// Initialize and start all installed extensions.
void Init();
- // Initialize the event routers after import has finished.
+ // To delay some initialization until after import has finished, register
+ // for the notification.
+ // TODO(yoz): remove InitEventRoutersAterImport.
void InitEventRoutersAfterImport();
+ void RegisterForImportFinished();
+
+ // Complete some initialization after being notified that import has finished.
+ void InitAfterImport();
// Start up the extension event routers.
void InitEventRouters();
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698