| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 } | 151 } |
| 152 | 152 |
| 153 void SetBackgroundView(BackgroundView* background_view) { | 153 void SetBackgroundView(BackgroundView* background_view) { |
| 154 background_view_ = background_view; | 154 background_view_ = background_view; |
| 155 } | 155 } |
| 156 | 156 |
| 157 BackgroundView* GetBackgroundView() { | 157 BackgroundView* GetBackgroundView() { |
| 158 return background_view_; | 158 return background_view_; |
| 159 } | 159 } |
| 160 | 160 |
| 161 virtual std::string GetOffTheRecordCommandLine( |
| 162 const GURL& start_url, |
| 163 const CommandLine& base_command_line, |
| 164 CommandLine* command_line) { |
| 165 return std::string(); |
| 166 } |
| 167 |
| 161 private: | 168 private: |
| 162 std::string expected_username_; | 169 std::string expected_username_; |
| 163 std::string expected_password_; | 170 std::string expected_password_; |
| 164 std::string auth_token_; | 171 std::string auth_token_; |
| 165 chromeos::BackgroundView* background_view_; | 172 chromeos::BackgroundView* background_view_; |
| 166 | 173 |
| 167 DISALLOW_COPY_AND_ASSIGN(MockLoginUtils); | 174 DISALLOW_COPY_AND_ASSIGN(MockLoginUtils); |
| 168 }; | 175 }; |
| 169 | 176 |
| 170 } // namespace chromeos | 177 } // namespace chromeos |
| 171 | 178 |
| 172 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ | 179 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_AUTHENTICATOR_H_ |
| OLD | NEW |