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

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

Issue 2883563002: Refactor UKM interface for mojo-ification (Closed)
Patch Set: Fix uma_session_stats.cc Created 3 years, 7 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 #if !defined(OS_ANDROID) 6 #if !defined(OS_ANDROID)
7 #include "components/autofill/core/browser/ui/mock_save_card_bubble_controller.h " 7 #include "components/autofill/core/browser/ui/mock_save_card_bubble_controller.h "
8 #endif 8 #endif
9 9
10 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" 10 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
(...skipping 29 matching lines...) Expand all
40 } 40 }
41 41
42 IdentityProvider* TestAutofillClient::GetIdentityProvider() { 42 IdentityProvider* TestAutofillClient::GetIdentityProvider() {
43 return identity_provider_.get(); 43 return identity_provider_.get();
44 } 44 }
45 45
46 rappor::RapporServiceImpl* TestAutofillClient::GetRapporServiceImpl() { 46 rappor::RapporServiceImpl* TestAutofillClient::GetRapporServiceImpl() {
47 return rappor_service_.get(); 47 return rappor_service_.get();
48 } 48 }
49 49
50 ukm::UkmService* TestAutofillClient::GetUkmService() { 50 ukm::UkmRecorder* TestAutofillClient::GetUkmRecorder() {
51 return ukm_service_test_harness_.test_ukm_service(); 51 return &test_ukm_recorder_;
52 } 52 }
53 53
54 SaveCardBubbleController* TestAutofillClient::GetSaveCardBubbleController() { 54 SaveCardBubbleController* TestAutofillClient::GetSaveCardBubbleController() {
55 #if defined(OS_ANDROID) 55 #if defined(OS_ANDROID)
56 return nullptr; 56 return nullptr;
57 #else 57 #else
58 return save_card_bubble_controller_.get(); 58 return save_card_bubble_controller_.get();
59 #endif 59 #endif
60 } 60 }
61 61
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 bool TestAutofillClient::ShouldShowSigninPromo() { 140 bool TestAutofillClient::ShouldShowSigninPromo() {
141 return false; 141 return false;
142 } 142 }
143 143
144 void TestAutofillClient::StartSigninFlow() {} 144 void TestAutofillClient::StartSigninFlow() {}
145 145
146 void TestAutofillClient::ShowHttpNotSecureExplanation() {} 146 void TestAutofillClient::ShowHttpNotSecureExplanation() {}
147 147
148 } // namespace autofill 148 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698