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

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

Issue 488853002: Removed --disable-print-preview switch and policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 base::Value::TYPE_BOOLEAN }, 98 base::Value::TYPE_BOOLEAN },
99 { key::kPasswordManagerEnabled, 99 { key::kPasswordManagerEnabled,
100 password_manager::prefs::kPasswordManagerSavingEnabled, 100 password_manager::prefs::kPasswordManagerSavingEnabled,
101 base::Value::TYPE_BOOLEAN }, 101 base::Value::TYPE_BOOLEAN },
102 { key::kPasswordManagerAllowShowPasswords, 102 { key::kPasswordManagerAllowShowPasswords,
103 password_manager::prefs::kPasswordManagerAllowShowPasswords, 103 password_manager::prefs::kPasswordManagerAllowShowPasswords,
104 base::Value::TYPE_BOOLEAN }, 104 base::Value::TYPE_BOOLEAN },
105 { key::kPrintingEnabled, 105 { key::kPrintingEnabled,
106 prefs::kPrintingEnabled, 106 prefs::kPrintingEnabled,
107 base::Value::TYPE_BOOLEAN }, 107 base::Value::TYPE_BOOLEAN },
108 { key::kDisablePrintPreview,
109 prefs::kPrintPreviewDisabled,
110 base::Value::TYPE_BOOLEAN },
111 { key::kMetricsReportingEnabled, 108 { key::kMetricsReportingEnabled,
112 prefs::kMetricsReportingEnabled, 109 prefs::kMetricsReportingEnabled,
113 base::Value::TYPE_BOOLEAN }, 110 base::Value::TYPE_BOOLEAN },
114 { key::kApplicationLocaleValue, 111 { key::kApplicationLocaleValue,
115 prefs::kApplicationLocale, 112 prefs::kApplicationLocale,
116 base::Value::TYPE_STRING }, 113 base::Value::TYPE_STRING },
117 { key::kDisabledPlugins, 114 { key::kDisabledPlugins,
118 prefs::kPluginsDisabledPlugins, 115 prefs::kPluginsDisabledPlugins,
119 base::Value::TYPE_LIST }, 116 base::Value::TYPE_LIST },
120 { key::kDisabledPluginsExceptions, 117 { key::kDisabledPluginsExceptions,
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
796 chrome_schema, 793 chrome_schema,
797 SCHEMA_STRICT, 794 SCHEMA_STRICT,
798 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, 795 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED,
799 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 796 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
800 #endif // defined(OS_CHROMEOS) 797 #endif // defined(OS_CHROMEOS)
801 798
802 return handlers.Pass(); 799 return handlers.Pass();
803 } 800 }
804 801
805 } // namespace policy 802 } // 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