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

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

Powered by Google App Engine
This is Rietveld 408576698