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

Side by Side Diff: ash/system/tray/test_system_tray_delegate.cc

Issue 14507003: Add tray warning for Locally managed users. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win-aura compile error Created 7 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
« no previous file with comments | « ash/system/tray/test_system_tray_delegate.h ('k') | ash/system/user/tray_user.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/system/tray/test_system_tray_delegate.h" 5 #include "ash/system/tray/test_system_tray_delegate.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "ash/session_state_delegate.h" 9 #include "ash/session_state_delegate.h"
10 #include "ash/shell.h" 10 #include "ash/shell.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 } 115 }
116 116
117 const std::string TestSystemTrayDelegate::GetEnterpriseDomain() const { 117 const std::string TestSystemTrayDelegate::GetEnterpriseDomain() const {
118 return std::string(); 118 return std::string();
119 } 119 }
120 120
121 const base::string16 TestSystemTrayDelegate::GetEnterpriseMessage() const { 121 const base::string16 TestSystemTrayDelegate::GetEnterpriseMessage() const {
122 return string16(); 122 return string16();
123 } 123 }
124 124
125 const std::string TestSystemTrayDelegate::GetLocallyManagedUserManager() const {
126 return std::string();
127 }
128
129 const base::string16 TestSystemTrayDelegate::GetLocallyManagedUserMessage()
130 const {
131 return string16();
132 }
133
125 bool TestSystemTrayDelegate::SystemShouldUpgrade() const { 134 bool TestSystemTrayDelegate::SystemShouldUpgrade() const {
126 return true; 135 return true;
127 } 136 }
128 137
129 base::HourClockType TestSystemTrayDelegate::GetHourClockType() const { 138 base::HourClockType TestSystemTrayDelegate::GetHourClockType() const {
130 return base::k24HourClock; 139 return base::k24HourClock;
131 } 140 }
132 141
133 PowerSupplyStatus TestSystemTrayDelegate::GetPowerSupplyStatus() const { 142 PowerSupplyStatus TestSystemTrayDelegate::GetPowerSupplyStatus() const {
134 return PowerSupplyStatus(); 143 return PowerSupplyStatus();
(...skipping 28 matching lines...) Expand all
163 172
164 void TestSystemTrayDelegate::ShowAccessibilityHelp() { 173 void TestSystemTrayDelegate::ShowAccessibilityHelp() {
165 } 174 }
166 175
167 void TestSystemTrayDelegate::ShowPublicAccountInfo() { 176 void TestSystemTrayDelegate::ShowPublicAccountInfo() {
168 } 177 }
169 178
170 void TestSystemTrayDelegate::ShowEnterpriseInfo() { 179 void TestSystemTrayDelegate::ShowEnterpriseInfo() {
171 } 180 }
172 181
182 void TestSystemTrayDelegate::ShowLocallyManagedUserInfo() {
183 }
184
173 void TestSystemTrayDelegate::ShowUserLogin() { 185 void TestSystemTrayDelegate::ShowUserLogin() {
174 } 186 }
175 187
176 void TestSystemTrayDelegate::ShutDown() { 188 void TestSystemTrayDelegate::ShutDown() {
177 MessageLoop::current()->Quit(); 189 MessageLoop::current()->Quit();
178 } 190 }
179 191
180 void TestSystemTrayDelegate::SignOut() { 192 void TestSystemTrayDelegate::SignOut() {
181 MessageLoop::current()->Quit(); 193 MessageLoop::current()->Quit();
182 } 194 }
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 base::string16 TestSystemTrayDelegate::FormatTimeDuration( 377 base::string16 TestSystemTrayDelegate::FormatTimeDuration(
366 const base::TimeDelta& delta) const { 378 const base::TimeDelta& delta) const {
367 return base::string16(); 379 return base::string16();
368 } 380 }
369 381
370 void TestSystemTrayDelegate::MaybeSpeak(const std::string& utterance) const { 382 void TestSystemTrayDelegate::MaybeSpeak(const std::string& utterance) const {
371 } 383 }
372 384
373 } // namespace test 385 } // namespace test
374 } // namespace ash 386 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/tray/test_system_tray_delegate.h ('k') | ash/system/user/tray_user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698