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

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

Issue 603253003: Revert of Restored disable print preview policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 base::Value::TYPE_BOOLEAN }, 95 base::Value::TYPE_BOOLEAN },
96 { key::kPasswordManagerEnabled, 96 { key::kPasswordManagerEnabled,
97 password_manager::prefs::kPasswordManagerSavingEnabled, 97 password_manager::prefs::kPasswordManagerSavingEnabled,
98 base::Value::TYPE_BOOLEAN }, 98 base::Value::TYPE_BOOLEAN },
99 { key::kPasswordManagerAllowShowPasswords, 99 { key::kPasswordManagerAllowShowPasswords,
100 password_manager::prefs::kPasswordManagerAllowShowPasswords, 100 password_manager::prefs::kPasswordManagerAllowShowPasswords,
101 base::Value::TYPE_BOOLEAN }, 101 base::Value::TYPE_BOOLEAN },
102 { key::kPrintingEnabled, 102 { key::kPrintingEnabled,
103 prefs::kPrintingEnabled, 103 prefs::kPrintingEnabled,
104 base::Value::TYPE_BOOLEAN }, 104 base::Value::TYPE_BOOLEAN },
105 { key::kDisablePrintPreview,
106 prefs::kPrintPreviewDisabled,
107 base::Value::TYPE_BOOLEAN },
108 { key::kMetricsReportingEnabled, 105 { key::kMetricsReportingEnabled,
109 prefs::kMetricsReportingEnabled, 106 prefs::kMetricsReportingEnabled,
110 base::Value::TYPE_BOOLEAN }, 107 base::Value::TYPE_BOOLEAN },
111 { key::kApplicationLocaleValue, 108 { key::kApplicationLocaleValue,
112 prefs::kApplicationLocale, 109 prefs::kApplicationLocale,
113 base::Value::TYPE_STRING }, 110 base::Value::TYPE_STRING },
114 { key::kDisabledPlugins, 111 { key::kDisabledPlugins,
115 prefs::kPluginsDisabledPlugins, 112 prefs::kPluginsDisabledPlugins,
116 base::Value::TYPE_LIST }, 113 base::Value::TYPE_LIST },
117 { key::kDisabledPluginsExceptions, 114 { key::kDisabledPluginsExceptions,
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
791 chrome_schema, 788 chrome_schema,
792 SCHEMA_STRICT, 789 SCHEMA_STRICT,
793 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, 790 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED,
794 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 791 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
795 #endif // defined(OS_CHROMEOS) 792 #endif // defined(OS_CHROMEOS)
796 793
797 return handlers.Pass(); 794 return handlers.Pass();
798 } 795 }
799 796
800 } // namespace policy 797 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | chrome/browser/prefs/command_line_pref_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698