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

Unified Diff: chrome/browser/ui/browser.cc

Issue 1403803003: Add metrics for window.external.AddSearchProvider and (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/renderer/external_extension.cc » ('j') | chrome/renderer/external_extension.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 6fa115c4624fc68d28f05b2ed52eab81389bc2e9..dca589350985a89f4fd82cd9dcf877f0a90615e8 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1945,6 +1945,8 @@ bool Browser::CanSaveContents(content::WebContents* web_contents) const {
void Browser::ConfirmAddSearchProvider(TemplateURL* template_url,
Profile* profile) {
+ content::RecordAction(
+ UserMetricsAction("window.external.AddSearchProvider_success"));
window()->ConfirmAddSearchProvider(template_url, profile);
}
« no previous file with comments | « no previous file | chrome/renderer/external_extension.cc » ('j') | chrome/renderer/external_extension.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698