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

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

Issue 597933002: Restored disable print preview policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Thu Sep 25 18:19:02 PDT 2014 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 },
105 { key::kMetricsReportingEnabled, 108 { key::kMetricsReportingEnabled,
106 prefs::kMetricsReportingEnabled, 109 prefs::kMetricsReportingEnabled,
107 base::Value::TYPE_BOOLEAN }, 110 base::Value::TYPE_BOOLEAN },
108 { key::kApplicationLocaleValue, 111 { key::kApplicationLocaleValue,
109 prefs::kApplicationLocale, 112 prefs::kApplicationLocale,
110 base::Value::TYPE_STRING }, 113 base::Value::TYPE_STRING },
111 { key::kDisabledPlugins, 114 { key::kDisabledPlugins,
112 prefs::kPluginsDisabledPlugins, 115 prefs::kPluginsDisabledPlugins,
113 base::Value::TYPE_LIST }, 116 base::Value::TYPE_LIST },
114 { key::kDisabledPluginsExceptions, 117 { key::kDisabledPluginsExceptions,
(...skipping 673 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 chrome_schema, 791 chrome_schema,
789 SCHEMA_STRICT, 792 SCHEMA_STRICT,
790 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, 793 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED,
791 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 794 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
792 #endif // defined(OS_CHROMEOS) 795 #endif // defined(OS_CHROMEOS)
793 796
794 return handlers.Pass(); 797 return handlers.Pass();
795 } 798 }
796 799
797 } // namespace policy 800 } // 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