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 "android_webview/native/aw_autofill_client.h" | 5 #include "android_webview/native/aw_autofill_client.h" |
6 | 6 |
7 #include "android_webview/browser/aw_browser_context.h" | 7 #include "android_webview/browser/aw_browser_context.h" |
8 #include "android_webview/browser/aw_content_browser_client.h" | 8 #include "android_webview/browser/aw_content_browser_client.h" |
9 #include "android_webview/browser/aw_form_database_service.h" | 9 #include "android_webview/browser/aw_form_database_service.h" |
10 #include "android_webview/native/aw_contents.h" | 10 #include "android_webview/native/aw_contents.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 } | 76 } |
77 | 77 |
78 IdentityProvider* AwAutofillClient::GetIdentityProvider() { | 78 IdentityProvider* AwAutofillClient::GetIdentityProvider() { |
79 return nullptr; | 79 return nullptr; |
80 } | 80 } |
81 | 81 |
82 rappor::RapporServiceImpl* AwAutofillClient::GetRapporServiceImpl() { | 82 rappor::RapporServiceImpl* AwAutofillClient::GetRapporServiceImpl() { |
83 return nullptr; | 83 return nullptr; |
84 } | 84 } |
85 | 85 |
| 86 ukm::UkmService* AwAutofillClient::GetUkmService() { |
| 87 return nullptr; |
| 88 } |
| 89 |
86 autofill::PersonalDataManager* AwAutofillClient::GetPersonalDataManager() { | 90 autofill::PersonalDataManager* AwAutofillClient::GetPersonalDataManager() { |
87 return nullptr; | 91 return nullptr; |
88 } | 92 } |
89 | 93 |
90 scoped_refptr<autofill::AutofillWebDataService> | 94 scoped_refptr<autofill::AutofillWebDataService> |
91 AwAutofillClient::GetDatabase() { | 95 AwAutofillClient::GetDatabase() { |
92 android_webview::AwFormDatabaseService* service = | 96 android_webview::AwFormDatabaseService* service = |
93 static_cast<android_webview::AwBrowserContext*>( | 97 static_cast<android_webview::AwBrowserContext*>( |
94 web_contents_->GetBrowserContext())->GetFormDatabaseService(); | 98 web_contents_->GetBrowserContext())->GetFormDatabaseService(); |
95 return service->get_autofill_webdata_service(); | 99 return service->get_autofill_webdata_service(); |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 | 276 |
273 void AwAutofillClient::ScanCreditCard(const CreditCardScanCallback& callback) { | 277 void AwAutofillClient::ScanCreditCard(const CreditCardScanCallback& callback) { |
274 NOTIMPLEMENTED(); | 278 NOTIMPLEMENTED(); |
275 } | 279 } |
276 | 280 |
277 bool RegisterAwAutofillClient(JNIEnv* env) { | 281 bool RegisterAwAutofillClient(JNIEnv* env) { |
278 return RegisterNativesImpl(env); | 282 return RegisterNativesImpl(env); |
279 } | 283 } |
280 | 284 |
281 } // namespace android_webview | 285 } // namespace android_webview |
OLD | NEW |