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

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

Issue 54863002: Implement a salt for MediaSource IDs that can be cleared by a user. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Moved GetMediaDeviceIDSalt to ResourceContext. Created 7 years, 1 month 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 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after
1116 const char kGoogleGeolocationAccessEnabled[] = 1116 const char kGoogleGeolocationAccessEnabled[] =
1117 "googlegeolocationaccess.enabled"; 1117 "googlegeolocationaccess.enabled";
1118 #endif 1118 #endif
1119 1119
1120 // The default audio capture device used by the Media content setting. 1120 // The default audio capture device used by the Media content setting.
1121 const char kDefaultAudioCaptureDevice[] = "media.default_audio_capture_device"; 1121 const char kDefaultAudioCaptureDevice[] = "media.default_audio_capture_device";
1122 1122
1123 // The default video capture device used by the Media content setting. 1123 // The default video capture device used by the Media content setting.
1124 const char kDefaultVideoCaptureDevice[] = "media.default_video_capture_Device"; 1124 const char kDefaultVideoCaptureDevice[] = "media.default_video_capture_Device";
1125 1125
1126 // The salt used for creating random MediaSource IDs.
1127 const char kMediaDeviceIdSalt[] = "media.device_id_salt";
1128
1126 // Preference to disable 3D APIs (WebGL, Pepper 3D). 1129 // Preference to disable 3D APIs (WebGL, Pepper 3D).
1127 const char kDisable3DAPIs[] = "disable_3d_apis"; 1130 const char kDisable3DAPIs[] = "disable_3d_apis";
1128 1131
1129 // Whether to enable hyperlink auditing ("<a ping>"). 1132 // Whether to enable hyperlink auditing ("<a ping>").
1130 const char kEnableHyperlinkAuditing[] = "enable_a_ping"; 1133 const char kEnableHyperlinkAuditing[] = "enable_a_ping";
1131 1134
1132 // Whether to enable sending referrers. 1135 // Whether to enable sending referrers.
1133 const char kEnableReferrers[] = "enable_referrers"; 1136 const char kEnableReferrers[] = "enable_referrers";
1134 1137
1135 // Whether to send the DNT header. 1138 // Whether to send the DNT header.
(...skipping 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after
2602 #if defined(OS_ANDROID) 2605 #if defined(OS_ANDROID)
2603 // A list of partner bookmark rename/remove mappings. 2606 // A list of partner bookmark rename/remove mappings.
2604 // Each list item is a dictionary containing a "url", a "provider_title" and 2607 // Each list item is a dictionary containing a "url", a "provider_title" and
2605 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2608 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2606 // given by the PartnerBookmarksProvider and either the user-visible renamed 2609 // given by the PartnerBookmarksProvider and either the user-visible renamed
2607 // title or an empty string if the bookmark node was removed. 2610 // title or an empty string if the bookmark node was removed.
2608 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2611 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2609 #endif 2612 #endif
2610 2613
2611 } // namespace prefs 2614 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698