diff options
author | mathp <mathp@chromium.org> | 2015-03-17 17:16:16 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-18 00:17:22 +0000 |
commit | 94e3f0b1ec9dab48251c7322c1a3252bb7a5a8c6 (patch) | |
tree | 51f9d9b891d9d1531d909e59371cd51b8596ba57 /android_webview/native | |
parent | d0e32d4246d27108922fdd2abbafa7cbcd182763 (diff) | |
download | chromium_src-94e3f0b1ec9dab48251c7322c1a3252bb7a5a8c6.zip chromium_src-94e3f0b1ec9dab48251c7322c1a3252bb7a5a8c6.tar.gz chromium_src-94e3f0b1ec9dab48251c7322c1a3252bb7a5a8c6.tar.bz2 |
[Autofill] Add infrastructure for Rappor metrics, and log 2 metrics.
Will use Rappor to log the domains where an Autofillable form is submitted and contained a high number of autofill prediction mismatches.
BUG=465793
TEST=AutofillMetricsTest -- components_unittests
TBR=asvitkine
Review URL: https://codereview.chromium.org/998073002
Cr-Commit-Position: refs/heads/master@{#321027}
Diffstat (limited to 'android_webview/native')
-rw-r--r-- | android_webview/native/aw_autofill_client.cc | 4 | ||||
-rw-r--r-- | android_webview/native/aw_autofill_client.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/android_webview/native/aw_autofill_client.cc b/android_webview/native/aw_autofill_client.cc index b9210e5..471576c 100644 --- a/android_webview/native/aw_autofill_client.cc +++ b/android_webview/native/aw_autofill_client.cc @@ -70,6 +70,10 @@ IdentityProvider* AwAutofillClient::GetIdentityProvider() { return nullptr; } +rappor::RapporService* AwAutofillClient::GetRapporService() { + return nullptr; +} + autofill::PersonalDataManager* AwAutofillClient::GetPersonalDataManager() { return nullptr; } diff --git a/android_webview/native/aw_autofill_client.h b/android_webview/native/aw_autofill_client.h index d8e4651..96405fc 100644 --- a/android_webview/native/aw_autofill_client.h +++ b/android_webview/native/aw_autofill_client.h @@ -60,6 +60,7 @@ class AwAutofillClient : public autofill::AutofillClient, scoped_refptr<autofill::AutofillWebDataService> GetDatabase() override; PrefService* GetPrefs() override; IdentityProvider* GetIdentityProvider() override; + rappor::RapporService* GetRapporService() override; void HideRequestAutocompleteDialog() override; void ShowAutofillSettings() override; void ShowUnmaskPrompt( |