diff options
author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-30 07:12:57 +0000 |
---|---|---|
committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-30 07:12:57 +0000 |
commit | 479e392d87a50de9a8c6cd78b35e317a4abfe768 (patch) | |
tree | b4c90d41723c03076c103097a17ef8c889c44353 /chrome/browser/extensions/extension_system_impl.h | |
parent | 85d3e142825217dab7fc64d8e0af445c01210cca (diff) | |
download | chromium_src-479e392d87a50de9a8c6cd78b35e317a4abfe768.zip chromium_src-479e392d87a50de9a8c6cd78b35e317a4abfe768.tar.gz chromium_src-479e392d87a50de9a8c6cd78b35e317a4abfe768.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/extensions/extension_system_impl.h')
-rw-r--r-- | chrome/browser/extensions/extension_system_impl.h | 3 |
1 files changed, 3 insertions, 0 deletions
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<StateStore> state_store_; + scoped_ptr<StateStoreNotificationObserver> + state_store_notification_observer_; scoped_ptr<StateStore> rules_store_; // LazyBackgroundTaskQueue is a dependency of // MessageService and EventRouter. |