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

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

Issue 2030193004: Add a policy for disabling the stripping of PAC URLs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add better documentatiob Created 4 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
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 <limits.h> 7 #include <limits.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <utility> 10 #include <utility>
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 base::Value::TYPE_BOOLEAN }, 96 base::Value::TYPE_BOOLEAN },
97 { key::kSearchSuggestEnabled, 97 { key::kSearchSuggestEnabled,
98 prefs::kSearchSuggestEnabled, 98 prefs::kSearchSuggestEnabled,
99 base::Value::TYPE_BOOLEAN }, 99 base::Value::TYPE_BOOLEAN },
100 { key::kBuiltInDnsClientEnabled, 100 { key::kBuiltInDnsClientEnabled,
101 prefs::kBuiltInDnsClientEnabled, 101 prefs::kBuiltInDnsClientEnabled,
102 base::Value::TYPE_BOOLEAN }, 102 base::Value::TYPE_BOOLEAN },
103 { key::kWPADQuickCheckEnabled, 103 { key::kWPADQuickCheckEnabled,
104 prefs::kQuickCheckEnabled, 104 prefs::kQuickCheckEnabled,
105 base::Value::TYPE_BOOLEAN }, 105 base::Value::TYPE_BOOLEAN },
106 { key::kPacHttpsUrlStrippingEnabled,
107 prefs::kPacHttpsUrlStrippingEnabled,
108 base::Value::TYPE_BOOLEAN },
106 { key::kDisableSpdy, 109 { key::kDisableSpdy,
107 prefs::kDisableSpdy, 110 prefs::kDisableSpdy,
108 base::Value::TYPE_BOOLEAN }, 111 base::Value::TYPE_BOOLEAN },
109 { key::kSafeBrowsingEnabled, 112 { key::kSafeBrowsingEnabled,
110 prefs::kSafeBrowsingEnabled, 113 prefs::kSafeBrowsingEnabled,
111 base::Value::TYPE_BOOLEAN }, 114 base::Value::TYPE_BOOLEAN },
112 { key::kForceGoogleSafeSearch, 115 { key::kForceGoogleSafeSearch,
113 prefs::kForceGoogleSafeSearch, 116 prefs::kForceGoogleSafeSearch,
114 base::Value::TYPE_BOOLEAN }, 117 base::Value::TYPE_BOOLEAN },
115 { key::kForceYouTubeSafetyMode, 118 { key::kForceYouTubeSafetyMode,
(...skipping 732 matching lines...) Expand 10 before | Expand all | Expand 10 after
848 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, 851 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED,
849 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 852 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
850 handlers->AddHandler(base::WrapUnique( 853 handlers->AddHandler(base::WrapUnique(
851 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); 854 new chromeos::KeyPermissionsPolicyHandler(chrome_schema)));
852 #endif // defined(OS_CHROMEOS) 855 #endif // defined(OS_CHROMEOS)
853 856
854 return handlers; 857 return handlers;
855 } 858 }
856 859
857 } // namespace policy 860 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/net/proxy_service_factory.cc ('k') | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698