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

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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 // Integer containing the default Geolocation content setting. 689 // Integer containing the default Geolocation content setting.
690 const char kGeolocationDefaultContentSetting[] = 690 const char kGeolocationDefaultContentSetting[] =
691 "geolocation.default_content_setting"; 691 "geolocation.default_content_setting";
692 692
693 // Dictionary that maps [frame, toplevel] to their Geolocation content setting. 693 // Dictionary that maps [frame, toplevel] to their Geolocation content setting.
694 const char kGeolocationContentSettings[] = "geolocation.content_settings"; 694 const char kGeolocationContentSettings[] = "geolocation.content_settings";
695 695
696 // Preference to disable 3D APIs (WebGL, Pepper 3D). 696 // Preference to disable 3D APIs (WebGL, Pepper 3D).
697 const char kDisable3DAPIs[] = "disable_3d_apis"; 697 const char kDisable3DAPIs[] = "disable_3d_apis";
698 698
699 // Whether to enable hyperlink auditing ("<a ping>").
700 const char kEnableHyperlinkAuditing[] = "enable_a_ping";
701
702 // Whether to enable sending referrers.
703 const char kEnableReferrers[] = "enable_referrers";
704
699 // *************** LOCAL STATE *************** 705 // *************** LOCAL STATE ***************
700 // These are attached to the machine/installation 706 // These are attached to the machine/installation
701 707
702 // The metrics client GUID and session ID. 708 // The metrics client GUID and session ID.
703 const char kMetricsClientID[] = "user_experience_metrics.client_id"; 709 const char kMetricsClientID[] = "user_experience_metrics.client_id";
704 const char kMetricsSessionID[] = "user_experience_metrics.session_id"; 710 const char kMetricsSessionID[] = "user_experience_metrics.session_id";
705 711
706 // Date/time when the current metrics profile ID was created 712 // Date/time when the current metrics profile ID was created
707 // (which hopefully corresponds to first run). 713 // (which hopefully corresponds to first run).
708 const char kMetricsClientIDTimestamp[] = 714 const char kMetricsClientIDTimestamp[] =
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
1278 "profile.managed_popups_blocked_for_urls"; 1284 "profile.managed_popups_blocked_for_urls";
1279 1285
1280 // Dictionary for storing the set of known background pages (keys are extension 1286 // Dictionary for storing the set of known background pages (keys are extension
1281 // IDs of background page owners, value is a boolean that is true if the user 1287 // IDs of background page owners, value is a boolean that is true if the user
1282 // needs to acknowledge this page. 1288 // needs to acknowledge this page.
1283 const char kKnownBackgroundPages[] = "background_pages.known"; 1289 const char kKnownBackgroundPages[] = "background_pages.known";
1284 1290
1285 // Dictionary that maps URL schemes (protocols) to URL handlers. 1291 // Dictionary that maps URL schemes (protocols) to URL handlers.
1286 const char kRegisteredProtocolHandlers[] = "registered_protocol_handlers"; 1292 const char kRegisteredProtocolHandlers[] = "registered_protocol_handlers";
1287 } // namespace prefs 1293 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698