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

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

Issue 10911283: Implement 'Do Not Track' header (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT Created 8 years, 3 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 983 matching lines...) Expand 10 before | Expand all | Expand 10 after
994 994
995 // Preference to disable 3D APIs (WebGL, Pepper 3D). 995 // Preference to disable 3D APIs (WebGL, Pepper 3D).
996 const char kDisable3DAPIs[] = "disable_3d_apis"; 996 const char kDisable3DAPIs[] = "disable_3d_apis";
997 997
998 // Whether to enable hyperlink auditing ("<a ping>"). 998 // Whether to enable hyperlink auditing ("<a ping>").
999 const char kEnableHyperlinkAuditing[] = "enable_a_ping"; 999 const char kEnableHyperlinkAuditing[] = "enable_a_ping";
1000 1000
1001 // Whether to enable sending referrers. 1001 // Whether to enable sending referrers.
1002 const char kEnableReferrers[] = "enable_referrers"; 1002 const char kEnableReferrers[] = "enable_referrers";
1003 1003
1004 // Whether to send the DNT header.
1005 const char kEnableDoNotTrack[] = "enable_do_not_track";
1006
1004 // Boolean to enable reporting memory info to page. 1007 // Boolean to enable reporting memory info to page.
1005 const char kEnableMemoryInfo[] = "enable_memory_info"; 1008 const char kEnableMemoryInfo[] = "enable_memory_info";
1006 1009
1007 // Boolean that specifies whether to import bookmarks from the default browser 1010 // Boolean that specifies whether to import bookmarks from the default browser
1008 // on first run. 1011 // on first run.
1009 const char kImportBookmarks[] = "import_bookmarks"; 1012 const char kImportBookmarks[] = "import_bookmarks";
1010 1013
1011 // Boolean that specifies whether to import the browsing history from the 1014 // Boolean that specifies whether to import the browsing history from the
1012 // default browser on first run. 1015 // default browser on first run.
1013 const char kImportHistory[] = "import_history"; 1016 const char kImportHistory[] = "import_history";
(...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after
2017 2020
2018 // Counts how many more times the 'profile on a network share' warning should be 2021 // Counts how many more times the 'profile on a network share' warning should be
2019 // shown to the user before the next silence period. 2022 // shown to the user before the next silence period.
2020 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left"; 2023 const char kNetworkProfileWarningsLeft[] = "network_profile.warnings_left";
2021 // Tracks the time of the last shown warning. Used to reset 2024 // Tracks the time of the last shown warning. Used to reset
2022 // |network_profile.warnings_left| after a silence period. 2025 // |network_profile.warnings_left| after a silence period.
2023 const char kNetworkProfileLastWarningTime[] = 2026 const char kNetworkProfileLastWarningTime[] =
2024 "network_profile.last_warning_time"; 2027 "network_profile.last_warning_time";
2025 2028
2026 } // namespace prefs 2029 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698