OLD | NEW |
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 // Constants for the names of various preferences, for easier changing. | 5 // Constants for the names of various preferences, for easier changing. |
6 | 6 |
7 #ifndef CHROME_COMMON_PREF_NAMES_H_ | 7 #ifndef CHROME_COMMON_PREF_NAMES_H_ |
8 #define CHROME_COMMON_PREF_NAMES_H_ | 8 #define CHROME_COMMON_PREF_NAMES_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 | 12 |
13 namespace prefs { | 13 namespace prefs { |
14 | 14 |
15 // Profile prefs | 15 // Profile prefs. Please add Local State prefs below instead. |
16 extern const char kAppsPromoCounter[]; | 16 extern const char kAppsPromoCounter[]; |
17 extern const char kDefaultAppsInstalled[]; | 17 extern const char kDefaultAppsInstalled[]; |
18 extern const char kHomePageIsNewTabPage[]; | 18 extern const char kHomePageIsNewTabPage[]; |
19 extern const char kHomePage[]; | 19 extern const char kHomePage[]; |
20 extern const char kSessionExitedCleanly[]; | 20 extern const char kSessionExitedCleanly[]; |
21 extern const char kRestoreOnStartup[]; | 21 extern const char kRestoreOnStartup[]; |
22 extern const char kURLsToRestoreOnStartup[]; | 22 extern const char kURLsToRestoreOnStartup[]; |
23 | 23 |
24 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state | 24 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state |
25 // and user's profile. Global property determines locale of login screen, | 25 // and user's profile. Global property determines locale of login screen, |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 | 235 |
236 extern const char kUseVerticalTabs[]; | 236 extern const char kUseVerticalTabs[]; |
237 extern const char kEnableTranslate[]; | 237 extern const char kEnableTranslate[]; |
238 extern const char kEnableBookmarkBar[]; | 238 extern const char kEnableBookmarkBar[]; |
239 extern const char kPinnedTabs[]; | 239 extern const char kPinnedTabs[]; |
240 extern const char kHttpThrottlingEnabled[]; | 240 extern const char kHttpThrottlingEnabled[]; |
241 | 241 |
242 extern const char kPolicyUserPolicyRefreshRate[]; | 242 extern const char kPolicyUserPolicyRefreshRate[]; |
243 extern const char kPolicyDevicePolicyRefreshRate[]; | 243 extern const char kPolicyDevicePolicyRefreshRate[]; |
244 | 244 |
245 // Local state | 245 extern const char kDisable3DAPIs[]; |
| 246 extern const char kEnableHyperlinkAuditing[]; |
| 247 extern const char kEnableReferrers[]; |
| 248 |
| 249 // Local state prefs. Please add Profile prefs above instead. |
246 extern const char kCertRevocationCheckingEnabled[]; | 250 extern const char kCertRevocationCheckingEnabled[]; |
247 extern const char kSSL3Enabled[]; | 251 extern const char kSSL3Enabled[]; |
248 extern const char kTLS1Enabled[]; | 252 extern const char kTLS1Enabled[]; |
249 | 253 |
250 extern const char kMetricsClientID[]; | 254 extern const char kMetricsClientID[]; |
251 extern const char kMetricsSessionID[]; | 255 extern const char kMetricsSessionID[]; |
252 extern const char kMetricsClientIDTimestamp[]; | 256 extern const char kMetricsClientIDTimestamp[]; |
253 extern const char kMetricsReportingEnabled[]; | 257 extern const char kMetricsReportingEnabled[]; |
254 extern const char kMetricsInitialLogs[]; | 258 extern const char kMetricsInitialLogs[]; |
255 extern const char kMetricsOngoingLogs[]; | 259 extern const char kMetricsOngoingLogs[]; |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 | 468 |
465 extern const char kAuthSchemes[]; | 469 extern const char kAuthSchemes[]; |
466 extern const char kDisableAuthNegotiateCnameLookup[]; | 470 extern const char kDisableAuthNegotiateCnameLookup[]; |
467 extern const char kEnableAuthNegotiatePort[]; | 471 extern const char kEnableAuthNegotiatePort[]; |
468 extern const char kAuthServerWhitelist[]; | 472 extern const char kAuthServerWhitelist[]; |
469 extern const char kAuthNegotiateDelegateWhitelist[]; | 473 extern const char kAuthNegotiateDelegateWhitelist[]; |
470 extern const char kGSSAPILibraryName[]; | 474 extern const char kGSSAPILibraryName[]; |
471 | 475 |
472 extern const char kKnownBackgroundPages[]; | 476 extern const char kKnownBackgroundPages[]; |
473 | 477 |
474 extern const char kDisable3DAPIs[]; | |
475 | |
476 extern const char kRegisteredProtocolHandlers[]; | 478 extern const char kRegisteredProtocolHandlers[]; |
477 | 479 |
478 } // namespace prefs | 480 } // namespace prefs |
479 | 481 |
480 #endif // CHROME_COMMON_PREF_NAMES_H_ | 482 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |