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

Side by Side Diff: components/user_manager/fake_user_manager.cc

Issue 1865133002: kiosk: Fix kiosk session restart (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, fix nits Created 4 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
« no previous file with comments | « components/user_manager/fake_user_manager.h ('k') | components/user_manager/user.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/user_manager/fake_user_manager.h" 5 #include "components/user_manager/fake_user_manager.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/sys_info.h" 9 #include "base/sys_info.h"
10 #include "base/task_runner.h" 10 #include "base/task_runner.h"
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 } 270 }
271 271
272 bool FakeUserManager::IsEnterpriseManaged() const { 272 bool FakeUserManager::IsEnterpriseManaged() const {
273 return false; 273 return false;
274 } 274 }
275 275
276 bool FakeUserManager::IsDemoApp(const AccountId& account_id) const { 276 bool FakeUserManager::IsDemoApp(const AccountId& account_id) const {
277 return false; 277 return false;
278 } 278 }
279 279
280 bool FakeUserManager::IsKioskApp(const AccountId& account_id) const { 280 bool FakeUserManager::IsDeviceLocalAccountMarkedForRemoval(
281 return false;
282 }
283
284 bool FakeUserManager::IsPublicAccountMarkedForRemoval(
285 const AccountId& account_id) const { 281 const AccountId& account_id) const {
286 return false; 282 return false;
287 } 283 }
288 284
289 void FakeUserManager::UpdateLoginState(const user_manager::User* active_user, 285 void FakeUserManager::UpdateLoginState(const user_manager::User* active_user,
290 const user_manager::User* primary_user, 286 const user_manager::User* primary_user,
291 bool is_current_user_owner) const {} 287 bool is_current_user_owner) const {}
292 288
293 bool FakeUserManager::GetPlatformKnownUserId(const std::string& user_email, 289 bool FakeUserManager::GetPlatformKnownUserId(const std::string& user_email,
294 const std::string& gaia_id, 290 const std::string& gaia_id,
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 NOTIMPLEMENTED(); 348 NOTIMPLEMENTED();
353 return; 349 return;
354 } 350 }
355 351
356 bool FakeUserManager::IsValidDefaultUserImageId(int image_index) const { 352 bool FakeUserManager::IsValidDefaultUserImageId(int image_index) const {
357 NOTIMPLEMENTED(); 353 NOTIMPLEMENTED();
358 return false; 354 return false;
359 } 355 }
360 356
361 } // namespace user_manager 357 } // namespace user_manager
OLDNEW
« no previous file with comments | « components/user_manager/fake_user_manager.h ('k') | components/user_manager/user.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698