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

Side by Side Diff: components/autofill/core/browser/test_autofill_client.cc

Issue 2376123003: [Sync] Move //components/sync to the syncer namespace. (Closed)
Patch Set: Rebase. Created 4 years, 2 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
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 "components/autofill/core/browser/test_autofill_client.h" 5 #include "components/autofill/core/browser/test_autofill_client.h"
6 6
7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
8 8
9 namespace autofill { 9 namespace autofill {
10 10
(...skipping 12 matching lines...) Expand all
23 } 23 }
24 24
25 scoped_refptr<AutofillWebDataService> TestAutofillClient::GetDatabase() { 25 scoped_refptr<AutofillWebDataService> TestAutofillClient::GetDatabase() {
26 return scoped_refptr<AutofillWebDataService>(nullptr); 26 return scoped_refptr<AutofillWebDataService>(nullptr);
27 } 27 }
28 28
29 PrefService* TestAutofillClient::GetPrefs() { 29 PrefService* TestAutofillClient::GetPrefs() {
30 return prefs_.get(); 30 return prefs_.get();
31 } 31 }
32 32
33 sync_driver::SyncService* TestAutofillClient::GetSyncService() { 33 syncer::SyncService* TestAutofillClient::GetSyncService() {
34 return nullptr; 34 return nullptr;
35 } 35 }
36 36
37 IdentityProvider* TestAutofillClient::GetIdentityProvider() { 37 IdentityProvider* TestAutofillClient::GetIdentityProvider() {
38 return identity_provider_.get(); 38 return identity_provider_.get();
39 } 39 }
40 40
41 rappor::RapporService* TestAutofillClient::GetRapporService() { 41 rappor::RapporService* TestAutofillClient::GetRapporService() {
42 return rappor_service_.get(); 42 return rappor_service_.get();
43 } 43 }
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 return is_context_secure_; 121 return is_context_secure_;
122 } 122 }
123 123
124 bool TestAutofillClient::ShouldShowSigninPromo() { 124 bool TestAutofillClient::ShouldShowSigninPromo() {
125 return false; 125 return false;
126 } 126 }
127 127
128 void TestAutofillClient::StartSigninFlow() {} 128 void TestAutofillClient::StartSigninFlow() {}
129 129
130 } // namespace autofill 130 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698