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

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

Issue 506663003: Consolidates accessing and setting the UMA pref to be within metrics code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more comments. using accesor class. Created 6 years, 3 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/core_options_handler.h
diff --git a/chrome/browser/ui/webui/options/core_options_handler.h b/chrome/browser/ui/webui/options/core_options_handler.h
index 5976d49cd3b286884a2beecd9c74a79de70142ec..43526e105dc7da28c7492aeda6fdf4f92850497f 100644
--- a/chrome/browser/ui/webui/options/core_options_handler.h
+++ b/chrome/browser/ui/webui/options/core_options_handler.h
@@ -160,6 +160,12 @@ class CoreOptionsHandler : public OptionsPageUIHandler {
// only argument in the |args| list.
void HandleDisableExtension(const base::ListValue* args);
+ // Passes forward the request to change MetricsReportingEnabled.
+ void HandleMetricsReportingChange(const base::ListValue* args);
+
+ // Notifies the result of MetricsReportingEnabled change to Javascript layer.
+ void MetricsReportingChangeCallback(bool success);
+
void UpdateClearPluginLSOData();
void UpdatePepperFlashSettingsEnabled();

Powered by Google App Engine
This is Rietveld 408576698