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

Unified Diff: chrome/browser/ui/android/infobars/search_geolocation_disclosure_infobar.cc

Issue 2534363002: Add infobar metrics for the new search geolocation disclosure. (Closed)
Patch Set: LAST -> COUNT Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/android/infobars/search_geolocation_disclosure_infobar.cc
diff --git a/chrome/browser/ui/android/infobars/search_geolocation_disclosure_infobar.cc b/chrome/browser/ui/android/infobars/search_geolocation_disclosure_infobar.cc
index afb15bf0e4380948dc9e51c0c73aa7932e4a2538..f5da11ed31bbc7256dc57bee767fc9b34093e461 100644
--- a/chrome/browser/ui/android/infobars/search_geolocation_disclosure_infobar.cc
+++ b/chrome/browser/ui/android/infobars/search_geolocation_disclosure_infobar.cc
@@ -35,8 +35,7 @@ void SearchGeolocationDisclosureInfoBar::OnLinkClicked(
if (!owner())
return; // We're closing; don't call anything, it might access the owner.
- // This counts as a dismissed so the dialog isn't shown again.
- delegate()->InfoBarDismissed();
+ GetDelegate()->RecordSettingsClicked();
ScopedJavaLocalRef<jstring> search_url =
base::android::ConvertUTF8ToJavaString(
« no previous file with comments | « chrome/browser/android/search_geolocation_disclosure_infobar_delegate.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698