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

Unified Diff: chrome/browser/chromeos/notifications/system_notification.h

Issue 10693087: chromeos: Request screen lock directly from session manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update Created 8 years, 6 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/chromeos/notifications/system_notification.h
diff --git a/chrome/browser/chromeos/notifications/system_notification.h b/chrome/browser/chromeos/notifications/system_notification.h
index f9d78b96fe39ea3d8aad9dccd1f257db82c613fb..284fca3dacb728a179fe596183b65ffc3c8555fb 100644
--- a/chrome/browser/chromeos/notifications/system_notification.h
+++ b/chrome/browser/chromeos/notifications/system_notification.h
@@ -13,7 +13,7 @@
#include "base/string16.h"
#include "chrome/browser/chromeos/notifications/balloon_view_host_chromeos.h" // MessageCallback
#include "chrome/browser/notifications/notification_delegate.h"
-#include "chromeos/dbus/power_manager_client.h"
+#include "chromeos/dbus/session_manager_client.h"
#include "googleurl/src/gurl.h"
class BalloonCollectionImplAsh;
@@ -24,7 +24,7 @@ namespace chromeos {
// The system notification object handles the display of a system notification
-class SystemNotification : public PowerManagerClient::Observer {
+class SystemNotification : public SessionManagerClient::Observer {
public:
// The profile is the current user profile. The id is any string used
// to uniquely identify this notification. The title is the title of
@@ -42,7 +42,7 @@ class SystemNotification : public PowerManagerClient::Observer {
virtual ~SystemNotification();
- // PowerManagerClient::Observer override.
+ // SessionManagerClient::Observer override.
virtual void UnlockScreen() OVERRIDE;
void set_title(const string16& title) { title_ = title; }

Powered by Google App Engine
This is Rietveld 408576698