summaryrefslogtreecommitdiffstats
path: root/chromium/components/policy/core/common/policy_switches.cc
blob: ff69ab42bdd7a3e66764aabec79ea7ab6dbcfd74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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