| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_ | 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_ |
| 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_ | 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/files/scoped_temp_dir.h" | 10 #include "base/files/scoped_temp_dir.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 // Returns a pointer to a loaded database. | 38 // Returns a pointer to a loaded database. |
| 39 virtual scoped_refptr<TokenWebData> GetDatabase() OVERRIDE; | 39 virtual scoped_refptr<TokenWebData> GetDatabase() OVERRIDE; |
| 40 | 40 |
| 41 // Returns true. | 41 // Returns true. |
| 42 virtual bool CanRevokeCredentials() OVERRIDE; | 42 virtual bool CanRevokeCredentials() OVERRIDE; |
| 43 | 43 |
| 44 // Returns empty string. | 44 // Returns empty string. |
| 45 virtual std::string GetSigninScopedDeviceId() OVERRIDE; | 45 virtual std::string GetSigninScopedDeviceId() OVERRIDE; |
| 46 | 46 |
| 47 // Does nothing. |
| 48 virtual void ClearSigninScopedDeviceId() OVERRIDE; |
| 49 |
| 47 // Returns the empty string. | 50 // Returns the empty string. |
| 48 virtual std::string GetProductVersion() OVERRIDE; | 51 virtual std::string GetProductVersion() OVERRIDE; |
| 49 | 52 |
| 50 // Returns a TestURLRequestContextGetter. | 53 // Returns a TestURLRequestContextGetter. |
| 51 virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE; | 54 virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE; |
| 52 | 55 |
| 53 #if defined(OS_IOS) | 56 #if defined(OS_IOS) |
| 54 virtual ios::ProfileOAuth2TokenServiceIOSProvider* GetIOSProvider() OVERRIDE; | 57 virtual ios::ProfileOAuth2TokenServiceIOSProvider* GetIOSProvider() OVERRIDE; |
| 55 #endif | 58 #endif |
| 56 | 59 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 83 PrefService* pref_service_; | 86 PrefService* pref_service_; |
| 84 | 87 |
| 85 #if defined(OS_IOS) | 88 #if defined(OS_IOS) |
| 86 scoped_ptr<ios::FakeProfileOAuth2TokenServiceIOSProvider> iosProvider_; | 89 scoped_ptr<ios::FakeProfileOAuth2TokenServiceIOSProvider> iosProvider_; |
| 87 #endif | 90 #endif |
| 88 | 91 |
| 89 DISALLOW_COPY_AND_ASSIGN(TestSigninClient); | 92 DISALLOW_COPY_AND_ASSIGN(TestSigninClient); |
| 90 }; | 93 }; |
| 91 | 94 |
| 92 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_ | 95 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_ |
| OLD | NEW |