Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1288)

Side by Side Diff: components/signin/core/browser/test_signin_client.cc

Issue 226643012: Upstream iOS implementation of ProfileOAuth2TokenService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698