summaryrefslogtreecommitdiff
path: root/chromium/components/policy/core/common/policy_switches.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/policy/core/common/policy_switches.cc')
-rw-r--r--chromium/components/policy/core/common/policy_switches.cc34
1 files changed, 34 insertions, 0 deletions
diff --git a/chromium/components/policy/core/common/policy_switches.cc b/chromium/components/policy/core/common/policy_switches.cc
new file mode 100644
index 00000000000..ff69ab42bdd
--- /dev/null
+++ b/chromium/components/policy/core/common/policy_switches.cc
@@ -0,0 +1,34 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/policy/core/common/policy_switches.h"
+
+namespace policy {
+namespace switches {
+
+// Specifies the URL at which to communicate with the device management backend
+// to fetch configuration policies and perform other device tasks.
+const char kDeviceManagementUrl[] = "device-management-url";
+
+// Specifies the URL at which to upload real-time reports.
+const char kRealtimeReportingUrl[] = "realtime-reporting-url";
+
+// Specifies the URL at which to upload encrypted reports.
+const char kEncryptedReportingUrl[] = "encrypted-reporting-url";
+
+// Set policy value by command line.
+const char kChromePolicy[] = "policy";
+
+#if BUILDFLAG(IS_CHROMEOS_ASH)
+// Disables the verification of policy signing keys. It just works on Chrome OS
+// test images and crashes otherwise.
+// TODO(crbug.com/1225054): This flag might introduce security risks. Find a
+// better solution to enable policy tast test for Family Link account.
+const char kDisablePolicyKeyVerification[] = "disable-policy-key-verification";
+#endif // BUILDFLAG(IS_CHROMEOS_ASH)
+
+// Specifies the base URL to contact the secure connect Api.
+const char kSecureConnectApiUrl[] = "secure-connect-api-url";
+} // namespace switches
+} // namespace policy