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

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

Issue 563553005: Remove implicit conversions from scoped_refptr to T* in c/b/chromeos/login (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | chrome/browser/chromeos/login/kiosk_browsertest.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 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/callback.h" 7 #include "base/callback.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/prefs/pref_service.h" 9 #include "base/prefs/pref_service.h"
10 #include "chrome/browser/chrome_notification_types.h" 10 #include "chrome/browser/chrome_notification_types.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 } 113 }
114 114
115 bool FakeLoginUtils::RestartToApplyPerSessionFlagsIfNeed(Profile* profile, 115 bool FakeLoginUtils::RestartToApplyPerSessionFlagsIfNeed(Profile* profile,
116 bool early_restart) { 116 bool early_restart) {
117 NOTREACHED() << "Method not implemented."; 117 NOTREACHED() << "Method not implemented.";
118 return false; 118 return false;
119 } 119 }
120 120
121 void FakeLoginUtils::SetExpectedCredentials(const UserContext& user_context) { 121 void FakeLoginUtils::SetExpectedCredentials(const UserContext& user_context) {
122 expected_user_context_ = user_context; 122 expected_user_context_ = user_context;
123 if (authenticator_) { 123 if (authenticator_.get()) {
124 static_cast<MockAuthenticator*>(authenticator_.get())-> 124 static_cast<MockAuthenticator*>(authenticator_.get())->
125 SetExpectedCredentials(user_context); 125 SetExpectedCredentials(user_context);
126 } 126 }
127 } 127 }
128 128
129 } // namespace chromeos 129 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/kiosk_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698