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

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

Issue 6992081: Make --allow-cross-domain-auth-prompt equivalent to a preference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_pref_store.h" 5 #include "chrome/browser/policy/configuration_policy_pref_store.h"
6 6
7 #include <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 { Value::TYPE_BOOLEAN, kPolicyDisableAuthNegotiateCnameLookup, 245 { Value::TYPE_BOOLEAN, kPolicyDisableAuthNegotiateCnameLookup,
246 prefs::kDisableAuthNegotiateCnameLookup }, 246 prefs::kDisableAuthNegotiateCnameLookup },
247 { Value::TYPE_BOOLEAN, kPolicyEnableAuthNegotiatePort, 247 { Value::TYPE_BOOLEAN, kPolicyEnableAuthNegotiatePort,
248 prefs::kEnableAuthNegotiatePort }, 248 prefs::kEnableAuthNegotiatePort },
249 { Value::TYPE_STRING, kPolicyAuthServerWhitelist, 249 { Value::TYPE_STRING, kPolicyAuthServerWhitelist,
250 prefs::kAuthServerWhitelist }, 250 prefs::kAuthServerWhitelist },
251 { Value::TYPE_STRING, kPolicyAuthNegotiateDelegateWhitelist, 251 { Value::TYPE_STRING, kPolicyAuthNegotiateDelegateWhitelist,
252 prefs::kAuthNegotiateDelegateWhitelist }, 252 prefs::kAuthNegotiateDelegateWhitelist },
253 { Value::TYPE_STRING, kPolicyGSSAPILibraryName, 253 { Value::TYPE_STRING, kPolicyGSSAPILibraryName,
254 prefs::kGSSAPILibraryName }, 254 prefs::kGSSAPILibraryName },
255 { Value::TYPE_BOOLEAN, kPolicyAllowCrossOriginAuthPrompt,
256 prefs::kAllowCrossOriginAuthPrompt },
255 { Value::TYPE_BOOLEAN, kPolicyDisable3DAPIs, 257 { Value::TYPE_BOOLEAN, kPolicyDisable3DAPIs,
256 prefs::kDisable3DAPIs }, 258 prefs::kDisable3DAPIs },
257 { Value::TYPE_BOOLEAN, kPolicyDisablePluginFinder, 259 { Value::TYPE_BOOLEAN, kPolicyDisablePluginFinder,
258 prefs::kDisablePluginFinder }, 260 prefs::kDisablePluginFinder },
259 { Value::TYPE_INTEGER, kPolicyPolicyRefreshRate, 261 { Value::TYPE_INTEGER, kPolicyPolicyRefreshRate,
260 prefs::kPolicyRefreshRate }, 262 prefs::kPolicyRefreshRate },
261 { Value::TYPE_BOOLEAN, kPolicyInstantEnabled, prefs::kInstantEnabled }, 263 { Value::TYPE_BOOLEAN, kPolicyInstantEnabled, prefs::kInstantEnabled },
262 { Value::TYPE_BOOLEAN, kPolicyDefaultBrowserSettingEnabled, 264 { Value::TYPE_BOOLEAN, kPolicyDefaultBrowserSettingEnabled,
263 prefs::kDefaultBrowserSettingEnabled }, 265 prefs::kDefaultBrowserSettingEnabled },
264 { Value::TYPE_BOOLEAN, kPolicyCloudPrintProxyEnabled, 266 { Value::TYPE_BOOLEAN, kPolicyCloudPrintProxyEnabled,
(...skipping 795 matching lines...) Expand 10 before | Expand all | Expand 10 after
1060 { kPolicyDisableAuthNegotiateCnameLookup, Value::TYPE_BOOLEAN, 1062 { kPolicyDisableAuthNegotiateCnameLookup, Value::TYPE_BOOLEAN,
1061 key::kDisableAuthNegotiateCnameLookup }, 1063 key::kDisableAuthNegotiateCnameLookup },
1062 { kPolicyEnableAuthNegotiatePort, Value::TYPE_BOOLEAN, 1064 { kPolicyEnableAuthNegotiatePort, Value::TYPE_BOOLEAN,
1063 key::kEnableAuthNegotiatePort }, 1065 key::kEnableAuthNegotiatePort },
1064 { kPolicyAuthServerWhitelist, Value::TYPE_STRING, 1066 { kPolicyAuthServerWhitelist, Value::TYPE_STRING,
1065 key::kAuthServerWhitelist }, 1067 key::kAuthServerWhitelist },
1066 { kPolicyAuthNegotiateDelegateWhitelist, Value::TYPE_STRING, 1068 { kPolicyAuthNegotiateDelegateWhitelist, Value::TYPE_STRING,
1067 key::kAuthNegotiateDelegateWhitelist }, 1069 key::kAuthNegotiateDelegateWhitelist },
1068 { kPolicyGSSAPILibraryName, Value::TYPE_STRING, 1070 { kPolicyGSSAPILibraryName, Value::TYPE_STRING,
1069 key::kGSSAPILibraryName }, 1071 key::kGSSAPILibraryName },
1072 { kPolicyAllowCrossOriginAuthPrompt, Value::TYPE_BOOLEAN,
1073 key::kAllowCrossOriginAuthPrompt },
1070 { kPolicyDisable3DAPIs, Value::TYPE_BOOLEAN, 1074 { kPolicyDisable3DAPIs, Value::TYPE_BOOLEAN,
1071 key::kDisable3DAPIs }, 1075 key::kDisable3DAPIs },
1072 { kPolicyDisablePluginFinder, Value::TYPE_BOOLEAN, 1076 { kPolicyDisablePluginFinder, Value::TYPE_BOOLEAN,
1073 key::kDisablePluginFinder }, 1077 key::kDisablePluginFinder },
1074 { kPolicyPolicyRefreshRate, Value::TYPE_INTEGER, 1078 { kPolicyPolicyRefreshRate, Value::TYPE_INTEGER,
1075 key::kPolicyRefreshRate }, 1079 key::kPolicyRefreshRate },
1076 { kPolicyInstantEnabled, Value::TYPE_BOOLEAN, key::kInstantEnabled }, 1080 { kPolicyInstantEnabled, Value::TYPE_BOOLEAN, key::kInstantEnabled },
1077 { kPolicyDefaultBrowserSettingEnabled, Value::TYPE_BOOLEAN, 1081 { kPolicyDefaultBrowserSettingEnabled, Value::TYPE_BOOLEAN,
1078 key::kDefaultBrowserSettingEnabled }, 1082 key::kDefaultBrowserSettingEnabled },
1079 { kPolicyCloudPrintProxyEnabled, Value::TYPE_BOOLEAN, 1083 { kPolicyCloudPrintProxyEnabled, Value::TYPE_BOOLEAN,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
1129 // Update the initialization flag. 1133 // Update the initialization flag.
1130 if (!initialization_complete_ && 1134 if (!initialization_complete_ &&
1131 provider_->IsInitializationComplete()) { 1135 provider_->IsInitializationComplete()) {
1132 initialization_complete_ = true; 1136 initialization_complete_ = true;
1133 FOR_EACH_OBSERVER(PrefStore::Observer, observers_, 1137 FOR_EACH_OBSERVER(PrefStore::Observer, observers_,
1134 OnInitializationCompleted(true)); 1138 OnInitializationCompleted(true));
1135 } 1139 }
1136 } 1140 }
1137 1141
1138 } // namespace policy 1142 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/policy/configuration_policy_pref_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698