OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #import "ios/chrome/browser/ui/autofill/autofill_client_ios.h" | 5 #import "ios/chrome/browser/ui/autofill/autofill_client_ios.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 } | 73 } |
74 | 74 |
75 IdentityProvider* AutofillClientIOS::GetIdentityProvider() { | 75 IdentityProvider* AutofillClientIOS::GetIdentityProvider() { |
76 return identity_provider_.get(); | 76 return identity_provider_.get(); |
77 } | 77 } |
78 | 78 |
79 rappor::RapporServiceImpl* AutofillClientIOS::GetRapporServiceImpl() { | 79 rappor::RapporServiceImpl* AutofillClientIOS::GetRapporServiceImpl() { |
80 return GetApplicationContext()->GetRapporServiceImpl(); | 80 return GetApplicationContext()->GetRapporServiceImpl(); |
81 } | 81 } |
82 | 82 |
| 83 ukm::UkmService* AutofillClientIOS::GetUkmService() { |
| 84 return GetApplicationContext()->GetUkmService(); |
| 85 } |
| 86 |
83 void AutofillClientIOS::ShowAutofillSettings() { | 87 void AutofillClientIOS::ShowAutofillSettings() { |
84 NOTREACHED(); | 88 NOTREACHED(); |
85 } | 89 } |
86 | 90 |
87 void AutofillClientIOS::ShowUnmaskPrompt( | 91 void AutofillClientIOS::ShowUnmaskPrompt( |
88 const CreditCard& card, | 92 const CreditCard& card, |
89 UnmaskCardReason reason, | 93 UnmaskCardReason reason, |
90 base::WeakPtr<CardUnmaskDelegate> delegate) { | 94 base::WeakPtr<CardUnmaskDelegate> delegate) { |
91 unmask_controller_.ShowPrompt( | 95 unmask_controller_.ShowPrompt( |
92 // autofill::CardUnmaskPromptViewBridge manages its own lifetime, so | 96 // autofill::CardUnmaskPromptViewBridge manages its own lifetime, so |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 | 221 |
218 void AutofillClientIOS::StartSigninFlow() { | 222 void AutofillClientIOS::StartSigninFlow() { |
219 NOTIMPLEMENTED(); | 223 NOTIMPLEMENTED(); |
220 } | 224 } |
221 | 225 |
222 void AutofillClientIOS::ShowHttpNotSecureExplanation() { | 226 void AutofillClientIOS::ShowHttpNotSecureExplanation() { |
223 NOTIMPLEMENTED(); | 227 NOTIMPLEMENTED(); |
224 } | 228 } |
225 | 229 |
226 } // namespace autofill | 230 } // namespace autofill |
OLD | NEW |