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

Unified Diff: chrome/browser/policy/configuration_policy_handler_list_factory.cc

Issue 886523003: Add a Rappor option in the settings page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Enterprise Policy Created 5 years, 10 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/policy/configuration_policy_handler_list_factory.cc
diff --git a/chrome/browser/policy/configuration_policy_handler_list_factory.cc b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
index 8f93f618c96e8d05f9712b85179ca9ce241ba193..46b96ee7f6a9847fcfc1dab6053a046f3d977668 100644
--- a/chrome/browser/policy/configuration_policy_handler_list_factory.cc
+++ b/chrome/browser/policy/configuration_policy_handler_list_factory.cc
@@ -23,6 +23,7 @@
#include "components/policy/core/common/policy_map.h"
#include "components/policy/core/common/policy_pref_names.h"
#include "components/policy/core/common/schema.h"
+#include "components/rappor/rappor_pref_names.h"
#include "components/search_engines/default_search_policy_handler.h"
#include "components/translate/core/common/translate_pref_names.h"
#include "policy/policy_constants.h"
@@ -119,6 +120,9 @@ const PolicyToPreferenceMapEntry kSimplePolicyMap[] = {
{ key::kMetricsReportingEnabled,
prefs::kMetricsReportingEnabled,
base::Value::TYPE_BOOLEAN },
+ { key::kMetricsReportingEnabled,
+ rappor::prefs::kRapporEnabled,
+ base::Value::TYPE_BOOLEAN },
Mattias Nissler (ping if slow) 2015/02/10 08:38:15 We need to be careful here w.r.t. installations th
{ key::kApplicationLocaleValue,
prefs::kApplicationLocale,
base::Value::TYPE_STRING },
« no previous file with comments | « chrome/browser/metrics/metrics_services_manager_unittest.cc ('k') | chrome/browser/resources/options/browser_options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698