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

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

Issue 6773006: Add enableReferrers and enableHyperlinkAuditing to contentSettings.misc API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 9 years, 8 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 namespace prefs { 7 namespace prefs {
8 8
9 // *************** PROFILE PREFS *************** 9 // *************** PROFILE PREFS ***************
10 // These are attached to the user profile 10 // These are attached to the user profile
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 // Integer containing the default Geolocation content setting. 691 // Integer containing the default Geolocation content setting.
692 const char kGeolocationDefaultContentSetting[] = 692 const char kGeolocationDefaultContentSetting[] =
693 "geolocation.default_content_setting"; 693 "geolocation.default_content_setting";
694 694
695 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. 695 // Dictionary that maps [frame, toplevel] to their Geolocation content setting.
696 const char kGeolocationContentSettings[] = "geolocation.content_settings"; 696 const char kGeolocationContentSettings[] = "geolocation.content_settings";
697 697
698 // Preference to disable 3D APIs (WebGL, Pepper 3D). 698 // Preference to disable 3D APIs (WebGL, Pepper 3D).
699 const char kDisable3DAPIs[] = "disable_3d_apis"; 699 const char kDisable3DAPIs[] = "disable_3d_apis";
700 700
701 // Whether to enable hyperlink auditing ("<a ping>").
702 const char kEnableHyperlinkAuditing[] = "enable_a_ping";
703
704 // Whether to enable sending referrers.
705 const char kEnableReferrers[] = "enable_referrers";
706
701 // *************** LOCAL STATE *************** 707 // *************** LOCAL STATE ***************
702 // These are attached to the machine/installation 708 // These are attached to the machine/installation
703 709
704 // Prefs for SSLConfigServicePref. 710 // Prefs for SSLConfigServicePref.
705 const char kCertRevocationCheckingEnabled[] = "ssl.rev_checking.enabled"; 711 const char kCertRevocationCheckingEnabled[] = "ssl.rev_checking.enabled";
706 const char kSSL3Enabled[] = "ssl.ssl3.enabled"; 712 const char kSSL3Enabled[] = "ssl.ssl3.enabled";
707 const char kTLS1Enabled[] = "ssl.tls1.enabled"; 713 const char kTLS1Enabled[] = "ssl.tls1.enabled";
708 714
709 // The metrics client GUID and session ID. 715 // The metrics client GUID and session ID.
710 const char kMetricsClientID[] = "user_experience_metrics.client_id"; 716 const char kMetricsClientID[] = "user_experience_metrics.client_id";
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
1285 "profile.managed_popups_blocked_for_urls"; 1291 "profile.managed_popups_blocked_for_urls";
1286 1292
1287 // Dictionary for storing the set of known background pages (keys are extension 1293 // Dictionary for storing the set of known background pages (keys are extension
1288 // IDs of background page owners, value is a boolean that is true if the user 1294 // IDs of background page owners, value is a boolean that is true if the user
1289 // needs to acknowledge this page. 1295 // needs to acknowledge this page.
1290 const char kKnownBackgroundPages[] = "background_pages.known"; 1296 const char kKnownBackgroundPages[] = "background_pages.known";
1291 1297
1292 // Dictionary that maps URL schemes (protocols) to URL handlers. 1298 // Dictionary that maps URL schemes (protocols) to URL handlers.
1293 const char kRegisteredProtocolHandlers[] = "registered_protocol_handlers"; 1299 const char kRegisteredProtocolHandlers[] = "registered_protocol_handlers";
1294 } // namespace prefs 1300 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/extensions/api_test/content_settings/standard/test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698