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

Side by Side Diff: chrome/browser/policy/configuration_policy_handler_list_factory.cc

Issue 312583002: Move MetricsStateManager into the Metrics component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/policy/configuration_policy_handler_list_factory.h" 5 #include "chrome/browser/policy/configuration_policy_handler_list_factory.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 { key::kPasswordManagerAllowShowPasswords, 101 { key::kPasswordManagerAllowShowPasswords,
102 password_manager::prefs::kPasswordManagerAllowShowPasswords, 102 password_manager::prefs::kPasswordManagerAllowShowPasswords,
103 base::Value::TYPE_BOOLEAN }, 103 base::Value::TYPE_BOOLEAN },
104 { key::kPrintingEnabled, 104 { key::kPrintingEnabled,
105 prefs::kPrintingEnabled, 105 prefs::kPrintingEnabled,
106 base::Value::TYPE_BOOLEAN }, 106 base::Value::TYPE_BOOLEAN },
107 { key::kDisablePrintPreview, 107 { key::kDisablePrintPreview,
108 prefs::kPrintPreviewDisabled, 108 prefs::kPrintPreviewDisabled,
109 base::Value::TYPE_BOOLEAN }, 109 base::Value::TYPE_BOOLEAN },
110 { key::kMetricsReportingEnabled, 110 { key::kMetricsReportingEnabled,
111 prefs::kMetricsReportingEnabled, 111 metrics::prefs::kMetricsReportingEnabled,
112 base::Value::TYPE_BOOLEAN }, 112 base::Value::TYPE_BOOLEAN },
113 { key::kApplicationLocaleValue, 113 { key::kApplicationLocaleValue,
114 prefs::kApplicationLocale, 114 prefs::kApplicationLocale,
115 base::Value::TYPE_STRING }, 115 base::Value::TYPE_STRING },
116 { key::kDisabledPlugins, 116 { key::kDisabledPlugins,
117 prefs::kPluginsDisabledPlugins, 117 prefs::kPluginsDisabledPlugins,
118 base::Value::TYPE_LIST }, 118 base::Value::TYPE_LIST },
119 { key::kDisabledPluginsExceptions, 119 { key::kDisabledPluginsExceptions,
120 prefs::kPluginsDisabledPluginsExceptions, 120 prefs::kPluginsDisabledPluginsExceptions,
121 base::Value::TYPE_LIST }, 121 base::Value::TYPE_LIST },
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( 728 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>(
729 new ExternalDataPolicyHandler(key::kUserAvatarImage))); 729 new ExternalDataPolicyHandler(key::kUserAvatarImage)));
730 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>( 730 handlers->AddHandler(make_scoped_ptr<ConfigurationPolicyHandler>(
731 new ExternalDataPolicyHandler(key::kWallpaperImage))); 731 new ExternalDataPolicyHandler(key::kWallpaperImage)));
732 #endif // defined(OS_CHROMEOS) 732 #endif // defined(OS_CHROMEOS)
733 733
734 return handlers.Pass(); 734 return handlers.Pass();
735 } 735 }
736 736
737 } // namespace policy 737 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698