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

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

Issue 2127113002: Policy to control ARC Backup&Restore. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bartfab nits. Created 4 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
« no previous file with comments | « no previous file | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 base::Value::TYPE_BOOLEAN }, 505 base::Value::TYPE_BOOLEAN },
506 { key::kForceMaximizeOnFirstRun, 506 { key::kForceMaximizeOnFirstRun,
507 prefs::kForceMaximizeOnFirstRun, 507 prefs::kForceMaximizeOnFirstRun,
508 base::Value::TYPE_BOOLEAN }, 508 base::Value::TYPE_BOOLEAN },
509 { key::kUnifiedDesktopEnabledByDefault, 509 { key::kUnifiedDesktopEnabledByDefault,
510 prefs::kUnifiedDesktopEnabledByDefault, 510 prefs::kUnifiedDesktopEnabledByDefault,
511 base::Value::TYPE_BOOLEAN }, 511 base::Value::TYPE_BOOLEAN },
512 { key::kArcEnabled, 512 { key::kArcEnabled,
513 prefs::kArcEnabled, 513 prefs::kArcEnabled,
514 base::Value::TYPE_BOOLEAN }, 514 base::Value::TYPE_BOOLEAN },
515 { key::kArcBackupRestoreEnabled,
516 prefs::kArcBackupRestoreEnabled,
517 base::Value::TYPE_BOOLEAN },
515 #endif // defined(OS_CHROMEOS) 518 #endif // defined(OS_CHROMEOS)
516 519
517 // Metrics reporting is controlled by a platform specific policy for ChromeOS 520 // Metrics reporting is controlled by a platform specific policy for ChromeOS
518 #if defined(OS_CHROMEOS) 521 #if defined(OS_CHROMEOS)
519 { key::kDeviceMetricsReportingEnabled, 522 { key::kDeviceMetricsReportingEnabled,
520 metrics::prefs::kMetricsReportingEnabled, 523 metrics::prefs::kMetricsReportingEnabled,
521 base::Value::TYPE_BOOLEAN }, 524 base::Value::TYPE_BOOLEAN },
522 #else 525 #else
523 { key::kMetricsReportingEnabled, 526 { key::kMetricsReportingEnabled,
524 metrics::prefs::kMetricsReportingEnabled, 527 metrics::prefs::kMetricsReportingEnabled,
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
859 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, 862 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED,
860 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 863 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
861 handlers->AddHandler(base::WrapUnique( 864 handlers->AddHandler(base::WrapUnique(
862 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); 865 new chromeos::KeyPermissionsPolicyHandler(chrome_schema)));
863 #endif // defined(OS_CHROMEOS) 866 #endif // defined(OS_CHROMEOS)
864 867
865 return handlers; 868 return handlers;
866 } 869 }
867 870
868 } // namespace policy 871 } // namespace policy
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698