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

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

Issue 286933002: [cros login] Split login related classes into subfolders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix includes in new tests Created 6 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 | Annotate | Revision Log
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 "chrome/browser/chromeos/login/test_login_utils.h" 5 #include "chrome/browser/chromeos/login/test_login_utils.h"
6 6
7 #include "chrome/browser/chromeos/login/mock_authenticator.h" 7 #include "chrome/browser/chromeos/login/auth/mock_authenticator.h"
8 #include "chrome/browser/chromeos/login/user.h" 8 #include "chrome/browser/chromeos/login/users/user.h"
9 9
10 namespace chromeos { 10 namespace chromeos {
11 11
12 TestLoginUtils::TestLoginUtils(const std::string& expected_username, 12 TestLoginUtils::TestLoginUtils(const std::string& expected_username,
13 const std::string& expected_password) 13 const std::string& expected_password)
14 : expected_username_(expected_username), 14 : expected_username_(expected_username),
15 expected_password_(expected_password) { 15 expected_password_(expected_password) {
16 } 16 }
17 17
18 TestLoginUtils::~TestLoginUtils() {} 18 TestLoginUtils::~TestLoginUtils() {}
(...skipping 16 matching lines...) Expand all
35 scoped_refptr<Authenticator> TestLoginUtils::CreateAuthenticator( 35 scoped_refptr<Authenticator> TestLoginUtils::CreateAuthenticator(
36 LoginStatusConsumer* consumer) { 36 LoginStatusConsumer* consumer) {
37 return new MockAuthenticator( 37 return new MockAuthenticator(
38 consumer, expected_username_, expected_password_); 38 consumer, expected_username_, expected_password_);
39 } 39 }
40 40
41 void TestLoginUtils::InitRlzDelayed(Profile* user_profile) { 41 void TestLoginUtils::InitRlzDelayed(Profile* user_profile) {
42 } 42 }
43 43
44 } // namespace chromeos 44 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/test_login_utils.h ('k') | chrome/browser/chromeos/login/tpm_password_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698