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

Side by Side Diff: ash/test/test_shell_delegate.cc

Issue 14139003: Chrome OS multi-profiles backend and UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move IsMultiProfilesEnabled() out of cros Created 7 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 | « ash/test/test_shell_delegate.h ('k') | chrome/browser/chromeos/login/login_utils.cc » ('j') | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/test/test_shell_delegate.h" 5 #include "ash/test/test_shell_delegate.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "ash/caps_lock_delegate_stub.h" 9 #include "ash/caps_lock_delegate_stub.h"
10 #include "ash/host/root_window_host_factory.h" 10 #include "ash/host/root_window_host_factory.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 } 42 }
43 43
44 bool TestShellDelegate::IsGuestSession() const { 44 bool TestShellDelegate::IsGuestSession() const {
45 return false; 45 return false;
46 } 46 }
47 47
48 bool TestShellDelegate::IsFirstRunAfterBoot() const { 48 bool TestShellDelegate::IsFirstRunAfterBoot() const {
49 return false; 49 return false;
50 } 50 }
51 51
52 bool TestShellDelegate::IsMultiProfilesEnabled() const {
53 return false;
54 }
55
52 bool TestShellDelegate::IsRunningInForcedAppMode() const { 56 bool TestShellDelegate::IsRunningInForcedAppMode() const {
53 return false; 57 return false;
54 } 58 }
55 59
56 bool TestShellDelegate::CanLockScreen() const { 60 bool TestShellDelegate::CanLockScreen() const {
57 return user_logged_in_ && can_lock_screen_; 61 return user_logged_in_ && can_lock_screen_;
58 } 62 }
59 63
60 void TestShellDelegate::LockScreen() { 64 void TestShellDelegate::LockScreen() {
61 locked_ = true; 65 locked_ = true;
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 can_lock_screen_ = can_lock_screen; 245 can_lock_screen_ = can_lock_screen;
242 } 246 }
243 247
244 base::string16 TestShellDelegate::GetProductName() const { 248 base::string16 TestShellDelegate::GetProductName() const {
245 return base::string16(); 249 return base::string16();
246 } 250 }
247 251
248 252
249 } // namespace test 253 } // namespace test
250 } // namespace ash 254 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/test_shell_delegate.h ('k') | chrome/browser/chromeos/login/login_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698