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

Side by Side Diff: chrome/browser/ui/ash/session_state_delegate_views.cc

Issue 231123002: Notify about major session changes events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unit_tests Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/ash/session_state_delegate_views.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/browser/ui/ash/session_state_delegate_views.h" 5 #include "chrome/browser/ui/ash/session_state_delegate_views.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "ui/gfx/image/image_skia.h" 10 #include "ui/gfx/image/image_skia.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 void SessionStateDelegate::LockScreen() { 59 void SessionStateDelegate::LockScreen() {
60 } 60 }
61 61
62 void SessionStateDelegate::UnlockScreen() { 62 void SessionStateDelegate::UnlockScreen() {
63 } 63 }
64 64
65 bool SessionStateDelegate::IsUserSessionBlocked() const { 65 bool SessionStateDelegate::IsUserSessionBlocked() const {
66 return false; 66 return false;
67 } 67 }
68 68
69 ash::SessionStateDelegate::SessionState SessionStateDelegate::GetSessionState()
70 const {
71 return SESSION_STATE_ACTIVE;
72 }
73
69 const base::string16 SessionStateDelegate::GetUserDisplayName( 74 const base::string16 SessionStateDelegate::GetUserDisplayName(
70 ash::MultiProfileIndex index) const { 75 ash::MultiProfileIndex index) const {
71 NOTIMPLEMENTED(); 76 NOTIMPLEMENTED();
72 return base::UTF8ToUTF16(""); 77 return base::UTF8ToUTF16("");
73 } 78 }
74 79
75 const base::string16 SessionStateDelegate::GetUserGivenName( 80 const base::string16 SessionStateDelegate::GetUserGivenName(
76 ash::MultiProfileIndex index) const { 81 ash::MultiProfileIndex index) const {
77 NOTIMPLEMENTED(); 82 NOTIMPLEMENTED();
78 return base::UTF8ToUTF16(""); 83 return base::UTF8ToUTF16("");
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 116
112 void SessionStateDelegate::AddSessionStateObserver( 117 void SessionStateDelegate::AddSessionStateObserver(
113 ash::SessionStateObserver* observer) { 118 ash::SessionStateObserver* observer) {
114 NOTIMPLEMENTED(); 119 NOTIMPLEMENTED();
115 } 120 }
116 121
117 void SessionStateDelegate::RemoveSessionStateObserver( 122 void SessionStateDelegate::RemoveSessionStateObserver(
118 ash::SessionStateObserver* observer) { 123 ash::SessionStateObserver* observer) {
119 NOTIMPLEMENTED(); 124 NOTIMPLEMENTED();
120 } 125 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/session_state_delegate_views.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698