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

Unified Diff: chrome/browser/chromeos/extensions/first_run_private_api.cc

Issue 135703003: Merge 245212 "Added UMA metrics for ChromeOS first-run UI." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1750/src
Patch Set: Created 6 years, 11 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/browser/chromeos/first_run/first_run.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/first_run_private_api.cc
diff --git a/chrome/browser/chromeos/extensions/first_run_private_api.cc b/chrome/browser/chromeos/extensions/first_run_private_api.cc
index 4be8e04c8725921386309d49d0bf8416a74cbeb6..b533ec105438d43b1784dfa8564c0e792bd5d8fb 100644
--- a/chrome/browser/chromeos/extensions/first_run_private_api.cc
+++ b/chrome/browser/chromeos/extensions/first_run_private_api.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/chromeos/extensions/first_run_private_api.h"
+#include "base/metrics/histogram.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/chromeos/first_run/first_run.h"
#include "chrome/browser/chromeos/login/user_manager.h"
@@ -13,7 +14,8 @@
#include "ui/base/webui/web_ui_util.h"
bool FirstRunPrivateGetLocalizedStringsFunction::RunImpl() {
- DictionaryValue* localized_strings = new DictionaryValue();
+ UMA_HISTOGRAM_COUNTS("CrosFirstRun.DialogShown", 1);
+ base::DictionaryValue* localized_strings = new base::DictionaryValue();
chromeos::User* user =
chromeos::UserManager::Get()->GetUserByProfile(GetProfile());
if (!user->given_name().empty()) {
« no previous file with comments | « no previous file | chrome/browser/chromeos/first_run/first_run.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698