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

Side by Side Diff: chrome/browser/chromeos/login/fake_login_utils.cc

Issue 322533002: Restart Chrome on ChromeOS as early as possible to speed up restart. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 "chrome/browser/chromeos/login/fake_login_utils.h" 5 #include "chrome/browser/chromeos/login/fake_login_utils.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "chrome/browser/chrome_notification_types.h" 9 #include "chrome/browser/chrome_notification_types.h"
10 #include "chrome/browser/chromeos/login/auth/mock_authenticator.h" 10 #include "chrome/browser/chromeos/login/auth/mock_authenticator.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 } 106 }
107 107
108 void FakeLoginUtils::RestoreAuthenticationSession(Profile* profile) { 108 void FakeLoginUtils::RestoreAuthenticationSession(Profile* profile) {
109 NOTREACHED() << "Method not implemented."; 109 NOTREACHED() << "Method not implemented.";
110 } 110 }
111 111
112 void FakeLoginUtils::InitRlzDelayed(Profile* user_profile) { 112 void FakeLoginUtils::InitRlzDelayed(Profile* user_profile) {
113 NOTREACHED() << "Method not implemented."; 113 NOTREACHED() << "Method not implemented.";
114 } 114 }
115 115
116 bool FakeLoginUtils::RestartToApplyPerSessionFlagsIfNeed(Profile* profile) {
117 NOTREACHED() << "Method not implemented.";
118 }
119
116 void FakeLoginUtils::SetExpectedCredentials(const UserContext& user_context) { 120 void FakeLoginUtils::SetExpectedCredentials(const UserContext& user_context) {
117 expected_user_context_ = user_context; 121 expected_user_context_ = user_context;
118 if (authenticator_) { 122 if (authenticator_) {
119 static_cast<MockAuthenticator*>(authenticator_.get())-> 123 static_cast<MockAuthenticator*>(authenticator_.get())->
120 SetExpectedCredentials(user_context); 124 SetExpectedCredentials(user_context);
121 } 125 }
122 } 126 }
123 127
124 } // namespace chromeos 128 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698