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

Side by Side Diff: chrome/browser/notifications/message_center_settings_controller.h

Issue 398753004: [cros] Move User class to user_manager component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 5 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_NOTIFICATIONS_MESSAGE_CENTER_SETTINGS_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_SETTINGS_CONTROLLER_H_
6 #define CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_SETTINGS_CONTROLLER_H_ 6 #define CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_SETTINGS_CONTROLLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 bool enabled) OVERRIDE; 73 bool enabled) OVERRIDE;
74 virtual void OnNotifierSettingsClosing() OVERRIDE; 74 virtual void OnNotifierSettingsClosing() OVERRIDE;
75 virtual bool NotifierHasAdvancedSettings( 75 virtual bool NotifierHasAdvancedSettings(
76 const message_center::NotifierId& notifier_id) const OVERRIDE; 76 const message_center::NotifierId& notifier_id) const OVERRIDE;
77 virtual void OnNotifierAdvancedSettingsRequested( 77 virtual void OnNotifierAdvancedSettingsRequested(
78 const message_center::NotifierId& notifier_id, 78 const message_center::NotifierId& notifier_id,
79 const std::string* notification_id) OVERRIDE; 79 const std::string* notification_id) OVERRIDE;
80 80
81 #if defined(OS_CHROMEOS) 81 #if defined(OS_CHROMEOS)
82 // Overridden from chromeos::UserManager::UserSessionStateObserver. 82 // Overridden from chromeos::UserManager::UserSessionStateObserver.
83 virtual void ActiveUserChanged(const chromeos::User* active_user) OVERRIDE; 83 virtual void ActiveUserChanged(
84 const user_manager::User* active_user) OVERRIDE;
84 #endif 85 #endif
85 86
86 // Overridden from extensions::AppIconLoader::Delegate. 87 // Overridden from extensions::AppIconLoader::Delegate.
87 virtual void SetAppImage(const std::string& id, 88 virtual void SetAppImage(const std::string& id,
88 const gfx::ImageSkia& image) OVERRIDE; 89 const gfx::ImageSkia& image) OVERRIDE;
89 90
90 private: 91 private:
91 // Overridden from content::NotificationObserver. 92 // Overridden from content::NotificationObserver.
92 virtual void Observe(int type, 93 virtual void Observe(int type,
93 const content::NotificationSource& source, 94 const content::NotificationSource& source,
(...skipping 30 matching lines...) Expand all
124 content::NotificationRegistrar registrar_; 125 content::NotificationRegistrar registrar_;
125 126
126 ProfileInfoCache* profile_info_cache_; 127 ProfileInfoCache* profile_info_cache_;
127 128
128 base::WeakPtrFactory<MessageCenterSettingsController> weak_factory_; 129 base::WeakPtrFactory<MessageCenterSettingsController> weak_factory_;
129 130
130 DISALLOW_COPY_AND_ASSIGN(MessageCenterSettingsController); 131 DISALLOW_COPY_AND_ASSIGN(MessageCenterSettingsController);
131 }; 132 };
132 133
133 #endif // CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_SETTINGS_CONTROLLER_H_ 134 #endif // CHROME_BROWSER_NOTIFICATIONS_MESSAGE_CENTER_SETTINGS_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698