summaryrefslogtreecommitdiffstats
path: root/chrome/common/policy_constants.h
diff options
context:
space:
mode:
authormnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-02 09:59:40 +0000
committermnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-02 09:59:40 +0000
commite8628000dfefa9d64ce3d26d0ab2b0851af68718 (patch)
treeccd8406e390872aa12c921a82198cd41c96ce3ae /chrome/common/policy_constants.h
parent9420283b16b82f3765e2c32a6f5035fe65c267f5 (diff)
downloadchromium_src-e8628000dfefa9d64ce3d26d0ab2b0851af68718.zip
chromium_src-e8628000dfefa9d64ce3d26d0ab2b0851af68718.tar.gz
chromium_src-e8628000dfefa9d64ce3d26d0ab2b0851af68718.tar.bz2
Don't initialize the crash reporter on windows if disabled by configuration management.
BUG=49662 TEST=No crash reports get submitted if policy doesn't allow it. Review URL: http://codereview.chromium.org/3033030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54525 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/policy_constants.h')
-rw-r--r--chrome/common/policy_constants.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/chrome/common/policy_constants.h b/chrome/common/policy_constants.h
new file mode 100644
index 0000000..37107db
--- /dev/null
+++ b/chrome/common/policy_constants.h
@@ -0,0 +1,41 @@
+// Copyright (c) 2010 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.
+
+#ifndef CHROME_COMMON_POLICY_CONSTANTS_H_
+#define CHROME_COMMON_POLICY_CONSTANTS_H_
+#pragma once
+
+#include "build/build_config.h"
+
+namespace policy {
+
+#if defined(OS_WIN)
+// The windows registry path we read the policy configuration from.
+extern const wchar_t kRegistrySubKey[];
+#endif
+
+// Key names for the policy settings.
+namespace key {
+
+extern const char kHomepageLocation[];
+extern const char kHomepageIsNewTabPage[];
+extern const char kProxyServerMode[];
+extern const char kProxyServer[];
+extern const char kProxyPacUrl[];
+extern const char kProxyBypassList[];
+extern const char kAlternateErrorPagesEnabled[];
+extern const char kSearchSuggestEnabled[];
+extern const char kDnsPrefetchingEnabled[];
+extern const char kSafeBrowsingEnabled[];
+extern const char kMetricsReportingEnabled[];
+extern const char kPasswordManagerEnabled[];
+extern const char kDisabledPluginsList[];
+extern const char kApplicationLocaleValue[];
+extern const char kSyncDisabled[];
+
+} // namespace key
+
+} // namespace policy
+
+#endif // CHROME_COMMON_POLICY_CONSTANTS_H_