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 #include "base/logging.h" | 5 #include "base/logging.h" |
6 #include "components/signin/core/browser/test_signin_client.h" | 6 #include "components/signin/core/browser/test_signin_client.h" |
7 #include "components/signin/core/browser/webdata/token_service_table.h" | 7 #include "components/signin/core/browser/webdata/token_service_table.h" |
8 #include "components/webdata/common/web_data_service_base.h" | 8 #include "components/webdata/common/web_data_service_base.h" |
9 #include "components/webdata/common/web_database_service.h" | 9 #include "components/webdata/common/web_database_service.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 WebDataServiceBase::ProfileErrorCallback()); | 46 WebDataServiceBase::ProfileErrorCallback()); |
47 database_->Init(); | 47 database_->Init(); |
48 } | 48 } |
49 | 49 |
50 bool TestSigninClient::ShouldMergeSigninCredentialsIntoCookieJar() { | 50 bool TestSigninClient::ShouldMergeSigninCredentialsIntoCookieJar() { |
51 return true; | 51 return true; |
52 } | 52 } |
53 | 53 |
54 void TestSigninClient::SetCookieChangedCallback( | 54 void TestSigninClient::SetCookieChangedCallback( |
55 const CookieChangedCallback& callback) {} | 55 const CookieChangedCallback& callback) {} |
| 56 |
| 57 #if defined(OS_IOS) |
| 58 ios::ProfileOAuth2TokenServiceIOSProvider* TestSigninClient::GetIOSProvider() { |
| 59 // Just returns NULL for now. It should be changed to return an |
| 60 // |ios::FakeProfileOAuth2TokenServiceIOSProvider|. |
| 61 return NULL; |
| 62 } |
| 63 #endif |
OLD | NEW |