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

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

Issue 1684063002: Add ArcEnabled policy implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@26869593
Patch Set: Fixed GuestModeOptionsUIBrowserTest.testSections Created 4 years, 9 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 | « chrome/browser/policy/DEPS ('k') | 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 #include <utility> 9 #include <utility>
10 10
(...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 base::Value::TYPE_BOOLEAN }, 495 base::Value::TYPE_BOOLEAN },
496 { key::kCaptivePortalAuthenticationIgnoresProxy, 496 { key::kCaptivePortalAuthenticationIgnoresProxy,
497 prefs::kCaptivePortalAuthenticationIgnoresProxy, 497 prefs::kCaptivePortalAuthenticationIgnoresProxy,
498 base::Value::TYPE_BOOLEAN }, 498 base::Value::TYPE_BOOLEAN },
499 { key::kForceMaximizeOnFirstRun, 499 { key::kForceMaximizeOnFirstRun,
500 prefs::kForceMaximizeOnFirstRun, 500 prefs::kForceMaximizeOnFirstRun,
501 base::Value::TYPE_BOOLEAN }, 501 base::Value::TYPE_BOOLEAN },
502 { key::kUnifiedDesktopEnabledByDefault, 502 { key::kUnifiedDesktopEnabledByDefault,
503 prefs::kUnifiedDesktopEnabledByDefault, 503 prefs::kUnifiedDesktopEnabledByDefault,
504 base::Value::TYPE_BOOLEAN }, 504 base::Value::TYPE_BOOLEAN },
505 { key::kArcEnabled,
506 prefs::kArcEnabled,
507 base::Value::TYPE_BOOLEAN },
505 #endif // defined(OS_CHROMEOS) 508 #endif // defined(OS_CHROMEOS)
506 509
507 // Metrics reporting is controlled by a platform specific policy for ChromeOS 510 // Metrics reporting is controlled by a platform specific policy for ChromeOS
508 #if defined(OS_CHROMEOS) 511 #if defined(OS_CHROMEOS)
509 { key::kDeviceMetricsReportingEnabled, 512 { key::kDeviceMetricsReportingEnabled,
510 metrics::prefs::kMetricsReportingEnabled, 513 metrics::prefs::kMetricsReportingEnabled,
511 base::Value::TYPE_BOOLEAN }, 514 base::Value::TYPE_BOOLEAN },
512 #else 515 #else
513 { key::kMetricsReportingEnabled, 516 { key::kMetricsReportingEnabled,
514 metrics::prefs::kMetricsReportingEnabled, 517 metrics::prefs::kMetricsReportingEnabled,
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
824 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED, 827 SimpleSchemaValidatingPolicyHandler::RECOMMENDED_ALLOWED,
825 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED))); 828 SimpleSchemaValidatingPolicyHandler::MANDATORY_PROHIBITED)));
826 handlers->AddHandler(make_scoped_ptr( 829 handlers->AddHandler(make_scoped_ptr(
827 new chromeos::KeyPermissionsPolicyHandler(chrome_schema))); 830 new chromeos::KeyPermissionsPolicyHandler(chrome_schema)));
828 #endif // defined(OS_CHROMEOS) 831 #endif // defined(OS_CHROMEOS)
829 832
830 return handlers; 833 return handlers;
831 } 834 }
832 835
833 } // namespace policy 836 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/DEPS ('k') | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698