| OLD | NEW |
| 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 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FAKE_H_ | 5 #ifndef CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FAKE_H_ |
| 6 #define CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FAKE_H_ | 6 #define CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FAKE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 FakeSigninManager(); | 21 FakeSigninManager(); |
| 22 virtual ~FakeSigninManager(); | 22 virtual ~FakeSigninManager(); |
| 23 | 23 |
| 24 virtual void StartSignIn(const std::string& username, | 24 virtual void StartSignIn(const std::string& username, |
| 25 const std::string& password, | 25 const std::string& password, |
| 26 const std::string& login_token, | 26 const std::string& login_token, |
| 27 const std::string& login_captcha) OVERRIDE; | 27 const std::string& login_captcha) OVERRIDE; |
| 28 virtual void SignOut() OVERRIDE; | 28 virtual void SignOut() OVERRIDE; |
| 29 | 29 |
| 30 // Helper function to be used with ProfileKeyedService::SetTestingFactory(). | 30 // Helper function to be used with ProfileKeyedService::SetTestingFactory(). |
| 31 static ProfileKeyedBase* Build(Profile* profile); | 31 static ProfileKeyedService* Build(Profile* profile); |
| 32 }; | 32 }; |
| 33 | 33 |
| 34 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FAKE_H_ | 34 #endif // CHROME_BROWSER_SIGNIN_SIGNIN_MANAGER_FAKE_H_ |
| OLD | NEW |