From 479e392d87a50de9a8c6cd78b35e317a4abfe768 Mon Sep 17 00:00:00 2001 From: "jamescook@chromium.org" Date: Wed, 30 Jul 2014 07:12:57 +0000 Subject: Remove NOTIFICATION_SESSION_RESTORE_DONE from src/extensions src/extensions should not listen for notifications from src/chrome. NOTIFICATION_SESSION_RESTORE_DONE is used by state_store.cc to load per-extension state from a database at startup. Refactor this so Chrome explicitly requests the StateStore to initialize. Other embedders (like app_shell) don't need this behavior. BUG=392660 TEST=browser_tests *Extension* Review URL: https://codereview.chromium.org/427003006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@286429 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/extensions/extension_system_impl.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chrome/browser/extensions/extension_system_impl.h') diff --git a/chrome/browser/extensions/extension_system_impl.h b/chrome/browser/extensions/extension_system_impl.h index 2694b5b..df32495 100644 --- a/chrome/browser/extensions/extension_system_impl.h +++ b/chrome/browser/extensions/extension_system_impl.h @@ -17,6 +17,7 @@ class ExtensionSystemSharedFactory; class ExtensionWarningBadgeService; class NavigationObserver; class StandardManagementPolicyProvider; +class StateStoreNotificationObserver; // The ExtensionSystem for ProfileImpl and OffTheRecordProfileImpl. // Implementation details: non-shared services are owned by @@ -104,6 +105,8 @@ class ExtensionSystemImpl : public ExtensionSystem { // The services that are shared between normal and incognito profiles. scoped_ptr state_store_; + scoped_ptr + state_store_notification_observer_; scoped_ptr rules_store_; // LazyBackgroundTaskQueue is a dependency of // MessageService and EventRouter. -- cgit v1.1