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

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

Issue 2425233002: Rename policy ReportArcStatus to ReportArcStatusEnabled (Closed)
Patch Set: Created 4 years, 2 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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 base::Value::TYPE_BOOLEAN }, 532 base::Value::TYPE_BOOLEAN },
533 { key::kUnifiedDesktopEnabledByDefault, 533 { key::kUnifiedDesktopEnabledByDefault,
534 prefs::kUnifiedDesktopEnabledByDefault, 534 prefs::kUnifiedDesktopEnabledByDefault,
535 base::Value::TYPE_BOOLEAN }, 535 base::Value::TYPE_BOOLEAN },
536 { key::kArcEnabled, 536 { key::kArcEnabled,
537 prefs::kArcEnabled, 537 prefs::kArcEnabled,
538 base::Value::TYPE_BOOLEAN }, 538 base::Value::TYPE_BOOLEAN },
539 { key::kArcBackupRestoreEnabled, 539 { key::kArcBackupRestoreEnabled,
540 prefs::kArcBackupRestoreEnabled, 540 prefs::kArcBackupRestoreEnabled,
541 base::Value::TYPE_BOOLEAN }, 541 base::Value::TYPE_BOOLEAN },
542 { key::kReportArcStatus, 542 { key::kReportArcStatusEnabled,
543 prefs::kReportArcStatus, 543 prefs::kReportArcStatusEnabled,
544 base::Value::TYPE_BOOLEAN }, 544 base::Value::TYPE_BOOLEAN },
545 #endif // defined(OS_CHROMEOS) 545 #endif // defined(OS_CHROMEOS)
546 546
547 // Metrics reporting is controlled by a platform specific policy for ChromeOS 547 // Metrics reporting is controlled by a platform specific policy for ChromeOS
548 #if defined(OS_CHROMEOS) 548 #if defined(OS_CHROMEOS)
549 { key::kDeviceMetricsReportingEnabled, 549 { key::kDeviceMetricsReportingEnabled,
550 metrics::prefs::kMetricsReportingEnabled, 550 metrics::prefs::kMetricsReportingEnabled,
551 base::Value::TYPE_BOOLEAN }, 551 base::Value::TYPE_BOOLEAN },
552 #else 552 #else
553 { key::kMetricsReportingEnabled, 553 { key::kMetricsReportingEnabled,
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
932 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 932 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
933 handlers->AddHandler( 933 handlers->AddHandler(
934 base::MakeUnique<chromeos::KeyPermissionsPolicyHandler>(chrome_schema)); 934 base::MakeUnique<chromeos::KeyPermissionsPolicyHandler>(chrome_schema));
935 handlers->AddHandler(base::WrapUnique(new DefaultGeolocationPolicyHandler())); 935 handlers->AddHandler(base::WrapUnique(new DefaultGeolocationPolicyHandler()));
936 #endif // defined(OS_CHROMEOS) 936 #endif // defined(OS_CHROMEOS)
937 937
938 return handlers; 938 return handlers;
939 } 939 }
940 940
941 } // namespace policy 941 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/policy/device_status_collector_browsertest.cc ('k') | chrome/common/pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698