| 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 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 // Returns true. | 33 // Returns true. |
| 34 virtual bool CanRevokeCredentials() OVERRIDE; | 34 virtual bool CanRevokeCredentials() OVERRIDE; |
| 35 | 35 |
| 36 // Returns a TestURLRequestContextGetter. | 36 // Returns a TestURLRequestContextGetter. |
| 37 virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE; | 37 virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE; |
| 38 | 38 |
| 39 // Returns true. | 39 // Returns true. |
| 40 virtual bool ShouldMergeSigninCredentialsIntoCookieJar() OVERRIDE; | 40 virtual bool ShouldMergeSigninCredentialsIntoCookieJar() OVERRIDE; |
| 41 | 41 |
| 42 // Does nothing. |
| 43 virtual void SetCookieChangedCallback(const CookieChangedCallback& callback) |
| 44 OVERRIDE; |
| 45 |
| 42 private: | 46 private: |
| 43 // Loads the token database. | 47 // Loads the token database. |
| 44 void LoadDatabase(); | 48 void LoadDatabase(); |
| 45 | 49 |
| 46 base::ScopedTempDir temp_dir_; | 50 base::ScopedTempDir temp_dir_; |
| 47 scoped_refptr<net::TestURLRequestContextGetter> request_context_; | 51 scoped_refptr<net::TestURLRequestContextGetter> request_context_; |
| 48 scoped_refptr<TokenWebData> database_; | 52 scoped_refptr<TokenWebData> database_; |
| 49 | 53 |
| 50 DISALLOW_COPY_AND_ASSIGN(TestSigninClient); | 54 DISALLOW_COPY_AND_ASSIGN(TestSigninClient); |
| 51 }; | 55 }; |
| 52 | 56 |
| 53 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_ | 57 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_TEST_SIGNIN_CLIENT_H_ |
| OLD | NEW |