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

Side by Side Diff: chrome/common/pref_names.cc

Issue 118253005: Add managed policies for Native Messaging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 1689 matching lines...) Expand 10 before | Expand all | Expand 10 after
1700 // Whether we have run the extension-alert system (see ExtensionGlobalError) 1700 // Whether we have run the extension-alert system (see ExtensionGlobalError)
1701 // at least once for this profile. 1701 // at least once for this profile.
1702 const char kExtensionAlertsInitializedPref[] = "extensions.alerts.initialized"; 1702 const char kExtensionAlertsInitializedPref[] = "extensions.alerts.initialized";
1703 1703
1704 // The sites that are allowed to install extensions. These sites should be 1704 // The sites that are allowed to install extensions. These sites should be
1705 // allowed to install extensions without the scary dangerous downloads bar. 1705 // allowed to install extensions without the scary dangerous downloads bar.
1706 // Also, when off-store-extension installs are disabled, these sites are exempt. 1706 // Also, when off-store-extension installs are disabled, these sites are exempt.
1707 const char kExtensionAllowedInstallSites[] = "extensions.allowed_install_sites"; 1707 const char kExtensionAllowedInstallSites[] = "extensions.allowed_install_sites";
1708 1708
1709 // A list of allowed extension types. Extensions can only be installed if their 1709 // A list of allowed extension types. Extensions can only be installed if their
1710 // type is on this whitelist or alternatively on kExtensionInstallAllowList or 1710 // type is on this whitelisted or alternatively on kExtensionInstallAllowList or
Joao da Silva 2013/12/29 23:25:28 The previous sentence looks better to me
Sergey Ulanov 2014/01/06 23:21:55 Done.
1711 // kExtensionInstallForceList. 1711 // kExtensionInstallForceList.
1712 const char kExtensionAllowedTypes[] = "extensions.allowed_types"; 1712 const char kExtensionAllowedTypes[] = "extensions.allowed_types";
1713 1713
1714 // Version number of last blacklist check. 1714 // Version number of last blacklist check.
1715 const char kExtensionBlacklistUpdateVersion[] = 1715 const char kExtensionBlacklistUpdateVersion[] =
1716 "extensions.blacklistupdate.version"; 1716 "extensions.blacklistupdate.version";
1717 1717
1718 // A whitelist of extension ids the user can install: exceptions from the 1718 // A whitelist of extension ids the user can install: exceptions from the
1719 // following blacklist. 1719 // following blacklist.
1720 const char kExtensionInstallAllowList[] = "extensions.install.allowlist"; 1720 const char kExtensionInstallAllowList[] = "extensions.install.allowlist";
(...skipping 951 matching lines...) Expand 10 before | Expand all | Expand 10 after
2672 // on or before the value contained in kOsPasswordLastChanged. 2672 // on or before the value contained in kOsPasswordLastChanged.
2673 const char kOsPasswordBlank[] = "password_manager.os_password_blank"; 2673 const char kOsPasswordBlank[] = "password_manager.os_password_blank";
2674 2674
2675 // The number of seconds since epoch that the OS password was last changed. 2675 // The number of seconds since epoch that the OS password was last changed.
2676 const char kOsPasswordLastChanged[] = 2676 const char kOsPasswordLastChanged[] =
2677 "password_manager.os_password_last_changed"; 2677 "password_manager.os_password_last_changed";
2678 #endif 2678 #endif
2679 2679
2680 // Whether DNS Quick Check is disabled in proxy resolution. 2680 // Whether DNS Quick Check is disabled in proxy resolution.
2681 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2681 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2682
2683 // Whitelist of Native Messaging Hosts.
2684 const char kNativeMessagingBlacklist[] = "native_messaging.blacklist";
2685 const char kNativeMessagingWhitelist[] = "native_messaging.whitelist";
Joao da Silva 2013/12/29 23:25:28 Same about the order; this should be above line 12
Sergey Ulanov 2014/01/06 23:21:55 Done.
2686
2682 } // namespace prefs 2687 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698