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

Unified Diff: chrome/browser/background_mode_manager.h

Issue 6831016: Profile shouldn't own background page stuff. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/background_mode_manager.h
diff --git a/chrome/browser/background_mode_manager.h b/chrome/browser/background_mode_manager.h
index c83754307330c70ebee19fe6b40d990e993885b9..d5b45a1aeaf2ac4be4dd170e5cf84d3aada9d6e4 100644
--- a/chrome/browser/background_mode_manager.h
+++ b/chrome/browser/background_mode_manager.h
@@ -9,6 +9,7 @@
#include "base/gtest_prod_util.h"
#include "chrome/browser/background_application_list_model.h"
#include "chrome/browser/prefs/pref_change_registrar.h"
+#include "chrome/browser/profiles/profile_keyed_service.h"
#include "chrome/browser/status_icons/status_icon.h"
#include "content/common/notification_observer.h"
#include "content/common/notification_registrar.h"
@@ -39,7 +40,8 @@ class StatusTray;
class BackgroundModeManager
: public NotificationObserver,
public ui::SimpleMenuModel::Delegate,
- public BackgroundApplicationListModel::Observer {
+ public BackgroundApplicationListModel::Observer,
+ public ProfileKeyedService {
public:
BackgroundModeManager(Profile* profile, CommandLine* command_line);
virtual ~BackgroundModeManager();
« no previous file with comments | « chrome/browser/background_contents_service_factory.cc ('k') | chrome/browser/background_mode_manager_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698