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

Unified Diff: content/browser/renderer_host/render_widget_host.cc

Issue 8205009: Add accessibility stats counter (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host.cc
===================================================================
--- content/browser/renderer_host/render_widget_host.cc (revision 104500)
+++ content/browser/renderer_host/render_widget_host.cc (working copy)
@@ -10,6 +10,7 @@
#include "base/i18n/rtl.h"
#include "base/message_loop.h"
#include "base/metrics/histogram.h"
+#include "base/metrics/stats_counters.h"
#include "base/utf_string_conversions.h"
#include "content/browser/accessibility/browser_accessibility_state.h"
#include "content/browser/gpu/gpu_process_host.h"
@@ -1234,6 +1235,7 @@
return;
}
+ SIMPLE_STATS_COUNTER("Accessibility.SessionCount");
renderer_accessible_ = true;
if (process_->HasConnection()) {
@@ -1374,4 +1376,3 @@
Send(new ViewMsg_SelectAll(routing_id()));
UserMetrics::RecordAction(UserMetricsAction("SelectAll"));
}
-
« 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