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

Unified Diff: chrome/browser/dom_ui/conflicts_ui.cc

Issue 5259008: Add UMA counter for when about:conflicts is viewed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/conflicts_ui.cc
===================================================================
--- chrome/browser/dom_ui/conflicts_ui.cc (revision 67698)
+++ chrome/browser/dom_ui/conflicts_ui.cc (working copy)
@@ -15,6 +15,8 @@
#include "base/values.h"
#include "chrome/browser/dom_ui/chrome_url_data_manager.h"
#include "chrome/browser/enumerate_modules_model_win.h"
+#include "chrome/browser/metrics/user_metrics.h"
+#include "chrome/browser/tab_contents/tab_contents.h"
#include "chrome/common/jstemplate_builder.h"
#include "chrome/common/notification_observer.h"
#include "chrome/common/notification_registrar.h"
@@ -192,6 +194,9 @@
///////////////////////////////////////////////////////////////////////////////
ConflictsUI::ConflictsUI(TabContents* contents) : DOMUI(contents) {
+ UserMetrics::RecordAction(
+ UserMetricsAction("ViewAboutConflicts"), contents->profile());
+
AddMessageHandler((new ConflictsDOMHandler())->Attach(this));
ConflictsUIHTMLSource* html_source = new ConflictsUIHTMLSource();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698