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

Unified Diff: chrome/browser/ui/webui/options/managed_user_settings_handler.h

Issue 12033021: Add UMA metrics and histograms for locally managed users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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
Index: chrome/browser/ui/webui/options/managed_user_settings_handler.h
===================================================================
--- chrome/browser/ui/webui/options/managed_user_settings_handler.h (revision 177135)
+++ chrome/browser/ui/webui/options/managed_user_settings_handler.h (working copy)
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_SETTINGS_HANDLER_H_
#define CHROME_BROWSER_UI_WEBUI_OPTIONS_MANAGED_USER_SETTINGS_HANDLER_H_
+#include "base/time.h"
+#include "base/values.h"
#include "chrome/browser/ui/webui/options/options_ui.h"
namespace options {
@@ -18,7 +20,17 @@
virtual void GetLocalizedValues(
base::DictionaryValue* localized_strings) OVERRIDE;
+ virtual void InitializePage() OVERRIDE;
+ virtual void RegisterMessages() OVERRIDE;
+
private:
+ // Save user metrics. Called from WebUI.
+ void ConfirmChanges(const base::ListValue* args);
+ void CancelChanges(const base::ListValue* args);
+
+ // For tracking how long the user spends on this page.
+ base::TimeTicks start_time_;
+
DISALLOW_COPY_AND_ASSIGN(ManagedUserSettingsHandler);
};
« no previous file with comments | « chrome/browser/ui/browser_commands.cc ('k') | chrome/browser/ui/webui/options/managed_user_settings_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698