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

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: forward-declare booleanprefmember 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 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 // Integer containing the default Geolocation content setting. 688 // Integer containing the default Geolocation content setting.
689 const char kGeolocationDefaultContentSetting[] = 689 const char kGeolocationDefaultContentSetting[] =
690 "geolocation.default_content_setting"; 690 "geolocation.default_content_setting";
691 691
692 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. 692 // Dictionary that maps [frame, toplevel] to their Geolocation content setting.
693 const char kGeolocationContentSettings[] = "geolocation.content_settings"; 693 const char kGeolocationContentSettings[] = "geolocation.content_settings";
694 694
695 // Preference to disable 3D APIs (WebGL, Pepper 3D). 695 // Preference to disable 3D APIs (WebGL, Pepper 3D).
696 const char kDisable3DAPIs[] = "disable_3d_apis"; 696 const char kDisable3DAPIs[] = "disable_3d_apis";
697 697
698 // Whether to enable hyperlink auditing ("<a ping>").
699 const char kEnableHyperlinkAuditing[] = "enable_a_ping";
700
701 // Whether to enable sending referrers.
702 const char kEnableReferrers[] = "enable_referrers";
703
698 // *************** LOCAL STATE *************** 704 // *************** LOCAL STATE ***************
699 // These are attached to the machine/installation 705 // These are attached to the machine/installation
700 706
701 // Prefs for SSLConfigServicePref. 707 // Prefs for SSLConfigServicePref.
702 const char kCertRevocationCheckingEnabled[] = "ssl.rev_checking.enabled"; 708 const char kCertRevocationCheckingEnabled[] = "ssl.rev_checking.enabled";
703 const char kSSL3Enabled[] = "ssl.ssl3.enabled"; 709 const char kSSL3Enabled[] = "ssl.ssl3.enabled";
704 const char kTLS1Enabled[] = "ssl.tls1.enabled"; 710 const char kTLS1Enabled[] = "ssl.tls1.enabled";
705 711
706 // The metrics client GUID and session ID. 712 // The metrics client GUID and session ID.
707 const char kMetricsClientID[] = "user_experience_metrics.client_id"; 713 const char kMetricsClientID[] = "user_experience_metrics.client_id";
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
1282 "profile.managed_popups_blocked_for_urls"; 1288 "profile.managed_popups_blocked_for_urls";
1283 1289
1284 // Dictionary for storing the set of known background pages (keys are extension 1290 // Dictionary for storing the set of known background pages (keys are extension
1285 // IDs of background page owners, value is a boolean that is true if the user 1291 // IDs of background page owners, value is a boolean that is true if the user
1286 // needs to acknowledge this page. 1292 // needs to acknowledge this page.
1287 const char kKnownBackgroundPages[] = "background_pages.known"; 1293 const char kKnownBackgroundPages[] = "background_pages.known";
1288 1294
1289 // Dictionary that maps URL schemes (protocols) to URL handlers. 1295 // Dictionary that maps URL schemes (protocols) to URL handlers.
1290 const char kRegisteredProtocolHandlers[] = "registered_protocol_handlers"; 1296 const char kRegisteredProtocolHandlers[] = "registered_protocol_handlers";
1291 } // namespace prefs 1297 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698