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

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: Created 6 years, 4 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..991ba0774b22e38a00ad03af33ac9551e480952d 100644
--- a/chrome/browser/ui/webui/options/core_options_handler.h
+++ b/chrome/browser/ui/webui/options/core_options_handler.h
@@ -160,6 +160,9 @@ class CoreOptionsHandler : public OptionsPageUIHandler {
// only argument in the |args| list.
void HandleDisableExtension(const base::ListValue* args);
+ void HandleMetricsReportingChange(const base::ListValue* args);
+ void MetricsReportingChangeCallback(bool success);
+
void UpdateClearPluginLSOData();
void UpdatePepperFlashSettingsEnabled();

Powered by Google App Engine
This is Rietveld 408576698