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

Side by Side Diff: chrome/browser/chromeos/login/users/fake_chrome_user_manager.cc

Issue 2561023002: arc: ARC loading progress should not be shown when started from OOBE. (Closed)
Patch Set: rebased + comments updated Created 3 years, 10 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/chromeos/login/users/fake_chrome_user_manager.h" 5 #include "chrome/browser/chromeos/login/users/fake_chrome_user_manager.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 const AccountId& account_id, 462 const AccountId& account_id,
463 const UserAccountData& account_data) { 463 const UserAccountData& account_data) {
464 NOTREACHED(); 464 NOTREACHED();
465 } 465 }
466 466
467 bool FakeChromeUserManager::IsCurrentUserOwner() const { 467 bool FakeChromeUserManager::IsCurrentUserOwner() const {
468 return false; 468 return false;
469 } 469 }
470 470
471 bool FakeChromeUserManager::IsCurrentUserNew() const { 471 bool FakeChromeUserManager::IsCurrentUserNew() const {
472 return false; 472 return current_user_new_;
473 } 473 }
474 474
475 bool FakeChromeUserManager::IsCurrentUserNonCryptohomeDataEphemeral() const { 475 bool FakeChromeUserManager::IsCurrentUserNonCryptohomeDataEphemeral() const {
476 return false; 476 return false;
477 } 477 }
478 478
479 bool FakeChromeUserManager::CanCurrentUserLock() const { 479 bool FakeChromeUserManager::CanCurrentUserLock() const {
480 return false; 480 return false;
481 } 481 }
482 482
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
626 if (active_account_id_.is_valid()) { 626 if (active_account_id_.is_valid()) {
627 for (const auto& user : users_) { 627 for (const auto& user : users_) {
628 if (user->GetAccountId() == active_account_id_) 628 if (user->GetAccountId() == active_account_id_)
629 return user; 629 return user;
630 } 630 }
631 } 631 }
632 return users_[0]; 632 return users_[0];
633 } 633 }
634 634
635 } // namespace chromeos 635 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698