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

Side by Side Diff: chrome/browser/chromeos/login/mock_authenticator.h

Issue 7477008: Remove explicit keyword from multi-argument constructors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 69
70 private: 70 private:
71 std::string expected_username_; 71 std::string expected_username_;
72 std::string expected_password_; 72 std::string expected_password_;
73 73
74 DISALLOW_COPY_AND_ASSIGN(MockAuthenticator); 74 DISALLOW_COPY_AND_ASSIGN(MockAuthenticator);
75 }; 75 };
76 76
77 class MockLoginUtils : public LoginUtils { 77 class MockLoginUtils : public LoginUtils {
78 public: 78 public:
79 explicit MockLoginUtils(const std::string& expected_username, 79 MockLoginUtils(const std::string& expected_username,
80 const std::string& expected_password); 80 const std::string& expected_password);
81 virtual ~MockLoginUtils(); 81 virtual ~MockLoginUtils();
82 82
83 virtual bool ShouldWaitForWifi(); 83 virtual bool ShouldWaitForWifi();
84 84
85 virtual void PrepareProfile(const std::string& username, 85 virtual void PrepareProfile(const std::string& username,
86 const std::string& password, 86 const std::string& password,
87 const GaiaAuthConsumer::ClientLoginResult& res, 87 const GaiaAuthConsumer::ClientLoginResult& res,
88 bool pending_requests, 88 bool pending_requests,
89 Delegate* delegate); 89 Delegate* delegate);
90 90
(...skipping 29 matching lines...) Expand all
120 std::string expected_password_; 120 std::string expected_password_;
121 std::string auth_token_; 121 std::string auth_token_;
122 chromeos::BackgroundView* background_view_; 122 chromeos::BackgroundView* background_view_;
123 123
124 DISALLOW_COPY_AND_ASSIGN(MockLoginUtils); 124 DISALLOW_COPY_AND_ASSIGN(MockLoginUtils);
125 }; 125 };
126 126
127 } // namespace chromeos 127 } // namespace chromeos
128 128
129 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ 129 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_utils.cc ('k') | chrome/browser/chromeos/login/rounded_rect_painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698