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

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

Issue 2890843002: Policy implementation for encryptfs to ext4 migration strategy (Closed)
Patch Set: Fixed review comments Created 3 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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 base::Value::Type::BOOLEAN }, 571 base::Value::Type::BOOLEAN },
572 { key::kArcLocationServiceEnabled, 572 { key::kArcLocationServiceEnabled,
573 prefs::kArcLocationServiceEnabled, 573 prefs::kArcLocationServiceEnabled,
574 base::Value::Type::BOOLEAN }, 574 base::Value::Type::BOOLEAN },
575 { key::kReportArcStatusEnabled, 575 { key::kReportArcStatusEnabled,
576 prefs::kReportArcStatusEnabled, 576 prefs::kReportArcStatusEnabled,
577 base::Value::Type::BOOLEAN }, 577 base::Value::Type::BOOLEAN },
578 { key::kNativePrinters, 578 { key::kNativePrinters,
579 prefs::kRecommendedNativePrinters, 579 prefs::kRecommendedNativePrinters,
580 base::Value::Type::LIST }, 580 base::Value::Type::LIST },
581 { key::kDeviceEcryptfsMigrationStrategy,
582 prefs::kDeviceEcryptfsMigrationStrategy,
583 base::Value::Type::INTEGER },
581 #endif // defined(OS_CHROMEOS) 584 #endif // defined(OS_CHROMEOS)
582 585
583 // Metrics reporting is controlled by a platform specific policy for ChromeOS 586 // Metrics reporting is controlled by a platform specific policy for ChromeOS
584 #if defined(OS_CHROMEOS) 587 #if defined(OS_CHROMEOS)
585 { key::kDeviceMetricsReportingEnabled, 588 { key::kDeviceMetricsReportingEnabled,
586 metrics::prefs::kMetricsReportingEnabled, 589 metrics::prefs::kMetricsReportingEnabled,
587 base::Value::Type::BOOLEAN }, 590 base::Value::Type::BOOLEAN },
588 #else 591 #else
589 { key::kMetricsReportingEnabled, 592 { key::kMetricsReportingEnabled,
590 metrics::prefs::kMetricsReportingEnabled, 593 metrics::prefs::kMetricsReportingEnabled,
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 #endif // defined(OS_CHROMEOS) 1044 #endif // defined(OS_CHROMEOS)
1042 1045
1043 #if BUILDFLAG(ENABLE_PLUGINS) 1046 #if BUILDFLAG(ENABLE_PLUGINS)
1044 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); 1047 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>());
1045 #endif // BUILDFLAG(ENABLE_PLUGINS) 1048 #endif // BUILDFLAG(ENABLE_PLUGINS)
1046 1049
1047 return handlers; 1050 return handlers;
1048 } 1051 }
1049 1052
1050 } // namespace policy 1053 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698