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

Side by Side Diff: ash/session/session_state_delegate_stub.cc

Issue 253183003: Media indicator for background recording task (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test Created 6 years, 7 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 #include "ash/session/session_state_delegate_stub.h" 5 #include "ash/session/session_state_delegate_stub.h"
6 6
7 #include "ash/session/user_info.h" 7 #include "ash/session/user_info.h"
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "ash/shell/example_factory.h" 9 #include "ash/shell/example_factory.h"
10 #include "ash/shell_delegate.h" 10 #include "ash/shell_delegate.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 content::BrowserContext* SessionStateDelegateStub::GetBrowserContextForWindow( 58 content::BrowserContext* SessionStateDelegateStub::GetBrowserContextForWindow(
59 aura::Window* window) { 59 aura::Window* window) {
60 return Shell::GetInstance()->delegate()->GetActiveBrowserContext(); 60 return Shell::GetInstance()->delegate()->GetActiveBrowserContext();
61 } 61 }
62 62
63 int SessionStateDelegateStub::GetMaximumNumberOfLoggedInUsers() const { 63 int SessionStateDelegateStub::GetMaximumNumberOfLoggedInUsers() const {
64 return 3; 64 return 3;
65 } 65 }
66 66
67 int SessionStateDelegateStub::NumberOfLoggedInUsers() const { 67 int SessionStateDelegateStub::NumberOfLoggedInUsers() const {
68 return 1; 68 return 2;
Mr4D (OOO till 08-26) 2014/04/30 18:24:36 This is highly confusing since the default should
oshima 2014/04/30 20:40:31 This is for ash_shell as we discussed, and can be
69 } 69 }
70 70
71 bool SessionStateDelegateStub::IsActiveUserSessionStarted() const { 71 bool SessionStateDelegateStub::IsActiveUserSessionStarted() const {
72 return true; 72 return true;
73 } 73 }
74 74
75 bool SessionStateDelegateStub::CanLockScreen() const { 75 bool SessionStateDelegateStub::CanLockScreen() const {
76 return true; 76 return true;
77 } 77 }
78 78
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 void SessionStateDelegateStub::AddSessionStateObserver( 129 void SessionStateDelegateStub::AddSessionStateObserver(
130 ash::SessionStateObserver* observer) { 130 ash::SessionStateObserver* observer) {
131 } 131 }
132 132
133 void SessionStateDelegateStub::RemoveSessionStateObserver( 133 void SessionStateDelegateStub::RemoveSessionStateObserver(
134 ash::SessionStateObserver* observer) { 134 ash::SessionStateObserver* observer) {
135 } 135 }
136 136
137 } // namespace ash 137 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698