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

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

Issue 10537099: add "always allow" option to the mediastream infobar and allow user to allow/not allow acces to devi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use only content settings, added a device controller, addressed all the comments Created 8 years, 6 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 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 const char kPinnedTabs[] = "pinned_tabs"; 928 const char kPinnedTabs[] = "pinned_tabs";
929 #endif 929 #endif
930 930
931 // Integer containing the default Geolocation content setting. 931 // Integer containing the default Geolocation content setting.
932 const char kGeolocationDefaultContentSetting[] = 932 const char kGeolocationDefaultContentSetting[] =
933 "geolocation.default_content_setting"; 933 "geolocation.default_content_setting";
934 934
935 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. 935 // Dictionary that maps [frame, toplevel] to their Geolocation content setting.
936 const char kGeolocationContentSettings[] = "geolocation.content_settings"; 936 const char kGeolocationContentSettings[] = "geolocation.content_settings";
937 937
938
938 // Preference to disable 3D APIs (WebGL, Pepper 3D). 939 // Preference to disable 3D APIs (WebGL, Pepper 3D).
939 const char kDisable3DAPIs[] = "disable_3d_apis"; 940 const char kDisable3DAPIs[] = "disable_3d_apis";
940 941
941 // Whether to enable hyperlink auditing ("<a ping>"). 942 // Whether to enable hyperlink auditing ("<a ping>").
942 const char kEnableHyperlinkAuditing[] = "enable_a_ping"; 943 const char kEnableHyperlinkAuditing[] = "enable_a_ping";
943 944
944 // Whether to enable sending referrers. 945 // Whether to enable sending referrers.
945 const char kEnableReferrers[] = "enable_referrers"; 946 const char kEnableReferrers[] = "enable_referrers";
946 947
947 // Boolean to enable reporting memory info to page. 948 // Boolean to enable reporting memory info to page.
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
1804 const char kManagedDefaultJavaScriptSetting[] = 1805 const char kManagedDefaultJavaScriptSetting[] =
1805 "profile.managed_default_content_settings.javascript"; 1806 "profile.managed_default_content_settings.javascript";
1806 const char kManagedDefaultPluginsSetting[] = 1807 const char kManagedDefaultPluginsSetting[] =
1807 "profile.managed_default_content_settings.plugins"; 1808 "profile.managed_default_content_settings.plugins";
1808 const char kManagedDefaultPopupsSetting[] = 1809 const char kManagedDefaultPopupsSetting[] =
1809 "profile.managed_default_content_settings.popups"; 1810 "profile.managed_default_content_settings.popups";
1810 const char kManagedDefaultGeolocationSetting[] = 1811 const char kManagedDefaultGeolocationSetting[] =
1811 "profile.managed_default_content_settings.geolocation"; 1812 "profile.managed_default_content_settings.geolocation";
1812 const char kManagedDefaultNotificationsSetting[] = 1813 const char kManagedDefaultNotificationsSetting[] =
1813 "profile.managed_default_content_settings.notifications"; 1814 "profile.managed_default_content_settings.notifications";
1815 const char kManagedDefaultMediaStreamSetting[] =
1816 "mediastream.default_content_settings";
1814 1817
1815 // Preferences that are exclusively used to store managed 1818 // Preferences that are exclusively used to store managed
1816 // content settings patterns. 1819 // content settings patterns.
1817 const char kManagedCookiesAllowedForUrls[] = 1820 const char kManagedCookiesAllowedForUrls[] =
1818 "profile.managed_cookies_allowed_for_urls"; 1821 "profile.managed_cookies_allowed_for_urls";
1819 const char kManagedCookiesBlockedForUrls[] = 1822 const char kManagedCookiesBlockedForUrls[] =
1820 "profile.managed_cookies_blocked_for_urls"; 1823 "profile.managed_cookies_blocked_for_urls";
1821 const char kManagedCookiesSessionOnlyForUrls[] = 1824 const char kManagedCookiesSessionOnlyForUrls[] =
1822 "profile.managed_cookies_sessiononly_for_urls"; 1825 "profile.managed_cookies_sessiononly_for_urls";
1823 const char kManagedImagesAllowedForUrls[] = 1826 const char kManagedImagesAllowedForUrls[] =
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1932 const char kInManagedMode[] = "managed_mode"; 1935 const char kInManagedMode[] = "managed_mode";
1933 1936
1934 // Counts how many more times the 'profile on a network share' warning should be 1937 // Counts how many more times the 'profile on a network share' warning should be
1935 // shown to the user before the next silence period. 1938 // shown to the user before the next silence period.
1936 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; 1939 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left";
1937 // Tracks the time of the last shown warning. Used to reset 1940 // Tracks the time of the last shown warning. Used to reset
1938 // |network_profile.warnings_left| after a silence period. 1941 // |network_profile.warnings_left| after a silence period.
1939 const char kNetworkProfileLastWarningTime[] = 1942 const char kNetworkProfileLastWarningTime[] =
1940 "network_profile.last_warning_time"; 1943 "network_profile.last_warning_time";
1941 } // namespace prefs 1944 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698