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

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

Issue 8395007: Add policy for blocking GCP printing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build break and respond to additional feedback Created 9 years, 1 month 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_handler.h" 5 #include "chrome/browser/policy/configuration_policy_handler.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 prefs::kUserPolicyRefreshRate }, 436 prefs::kUserPolicyRefreshRate },
437 { Value::TYPE_INTEGER, kPolicyDevicePolicyRefreshRate, 437 { Value::TYPE_INTEGER, kPolicyDevicePolicyRefreshRate,
438 prefs::kDevicePolicyRefreshRate }, 438 prefs::kDevicePolicyRefreshRate },
439 { Value::TYPE_BOOLEAN, kPolicyInstantEnabled, prefs::kInstantEnabled }, 439 { Value::TYPE_BOOLEAN, kPolicyInstantEnabled, prefs::kInstantEnabled },
440 { Value::TYPE_BOOLEAN, kPolicyDefaultBrowserSettingEnabled, 440 { Value::TYPE_BOOLEAN, kPolicyDefaultBrowserSettingEnabled,
441 prefs::kDefaultBrowserSettingEnabled }, 441 prefs::kDefaultBrowserSettingEnabled },
442 { Value::TYPE_BOOLEAN, kPolicyRemoteAccessHostFirewallTraversal, 442 { Value::TYPE_BOOLEAN, kPolicyRemoteAccessHostFirewallTraversal,
443 prefs::kRemoteAccessHostFirewallTraversal }, 443 prefs::kRemoteAccessHostFirewallTraversal },
444 { Value::TYPE_BOOLEAN, kPolicyCloudPrintProxyEnabled, 444 { Value::TYPE_BOOLEAN, kPolicyCloudPrintProxyEnabled,
445 prefs::kCloudPrintProxyEnabled }, 445 prefs::kCloudPrintProxyEnabled },
446 { Value::TYPE_BOOLEAN, kPolicyCloudPrintSubmitEnabled,
447 prefs::kCloudPrintSubmitEnabled },
446 { Value::TYPE_BOOLEAN, kPolicyTranslateEnabled, prefs::kEnableTranslate }, 448 { Value::TYPE_BOOLEAN, kPolicyTranslateEnabled, prefs::kEnableTranslate },
447 { Value::TYPE_BOOLEAN, kPolicyAllowOutdatedPlugins, 449 { Value::TYPE_BOOLEAN, kPolicyAllowOutdatedPlugins,
448 prefs::kPluginsAllowOutdated }, 450 prefs::kPluginsAllowOutdated },
449 { Value::TYPE_BOOLEAN, kPolicyAlwaysAuthorizePlugins, 451 { Value::TYPE_BOOLEAN, kPolicyAlwaysAuthorizePlugins,
450 prefs::kPluginsAlwaysAuthorize }, 452 prefs::kPluginsAlwaysAuthorize },
451 { Value::TYPE_BOOLEAN, kPolicyBookmarkBarEnabled, 453 { Value::TYPE_BOOLEAN, kPolicyBookmarkBarEnabled,
452 prefs::kShowBookmarkBar }, 454 prefs::kShowBookmarkBar },
453 { Value::TYPE_BOOLEAN, kPolicyEditBookmarksEnabled, 455 { Value::TYPE_BOOLEAN, kPolicyEditBookmarksEnabled,
454 prefs::kEditBookmarksEnabled }, 456 prefs::kEditBookmarksEnabled },
455 { Value::TYPE_BOOLEAN, kPolicyAllowFileSelectionDialogs, 457 { Value::TYPE_BOOLEAN, kPolicyAllowFileSelectionDialogs,
(...skipping 863 matching lines...) Expand 10 before | Expand all | Expand 10 after
1319 list->push_back(new SyncPolicyHandler()); 1321 list->push_back(new SyncPolicyHandler());
1320 1322
1321 #if !defined(OS_CHROMEOS) 1323 #if !defined(OS_CHROMEOS)
1322 list->push_back(new DownloadDirPolicyHandler()); 1324 list->push_back(new DownloadDirPolicyHandler());
1323 #endif // !defined(OS_CHROME0S) 1325 #endif // !defined(OS_CHROME0S)
1324 1326
1325 return list; 1327 return list;
1326 } 1328 }
1327 1329
1328 } // namespace policy 1330 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698