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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 | 234 |
235 extern const char kUseVerticalTabs[]; | 235 extern const char kUseVerticalTabs[]; |
236 extern const char kEnableTranslate[]; | 236 extern const char kEnableTranslate[]; |
237 extern const char kEnableBookmarkBar[]; | 237 extern const char kEnableBookmarkBar[]; |
238 extern const char kPinnedTabs[]; | 238 extern const char kPinnedTabs[]; |
239 extern const char kHttpThrottlingEnabled[]; | 239 extern const char kHttpThrottlingEnabled[]; |
240 | 240 |
241 extern const char kPolicyUserPolicyRefreshRate[]; | 241 extern const char kPolicyUserPolicyRefreshRate[]; |
242 extern const char kPolicyDevicePolicyRefreshRate[]; | 242 extern const char kPolicyDevicePolicyRefreshRate[]; |
243 | 243 |
244 // Local state | 244 extern const char kDisable3DAPIs[]; |
| 245 extern const char kEnableHyperlinkAuditing[]; |
| 246 extern const char kEnableReferrers[]; |
| 247 |
| 248 // Local state prefs. Please add Profile prefs above instead. |
245 extern const char kCertRevocationCheckingEnabled[]; | 249 extern const char kCertRevocationCheckingEnabled[]; |
246 extern const char kSSL3Enabled[]; | 250 extern const char kSSL3Enabled[]; |
247 extern const char kTLS1Enabled[]; | 251 extern const char kTLS1Enabled[]; |
248 | 252 |
249 extern const char kMetricsClientID[]; | 253 extern const char kMetricsClientID[]; |
250 extern const char kMetricsSessionID[]; | 254 extern const char kMetricsSessionID[]; |
251 extern const char kMetricsClientIDTimestamp[]; | 255 extern const char kMetricsClientIDTimestamp[]; |
252 extern const char kMetricsReportingEnabled[]; | 256 extern const char kMetricsReportingEnabled[]; |
253 extern const char kMetricsInitialLogs[]; | 257 extern const char kMetricsInitialLogs[]; |
254 extern const char kMetricsOngoingLogs[]; | 258 extern const char kMetricsOngoingLogs[]; |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 | 467 |
464 extern const char kAuthSchemes[]; | 468 extern const char kAuthSchemes[]; |
465 extern const char kDisableAuthNegotiateCnameLookup[]; | 469 extern const char kDisableAuthNegotiateCnameLookup[]; |
466 extern const char kEnableAuthNegotiatePort[]; | 470 extern const char kEnableAuthNegotiatePort[]; |
467 extern const char kAuthServerWhitelist[]; | 471 extern const char kAuthServerWhitelist[]; |
468 extern const char kAuthNegotiateDelegateWhitelist[]; | 472 extern const char kAuthNegotiateDelegateWhitelist[]; |
469 extern const char kGSSAPILibraryName[]; | 473 extern const char kGSSAPILibraryName[]; |
470 | 474 |
471 extern const char kKnownBackgroundPages[]; | 475 extern const char kKnownBackgroundPages[]; |
472 | 476 |
473 extern const char kDisable3DAPIs[]; | |
474 | |
475 extern const char kRegisteredProtocolHandlers[]; | 477 extern const char kRegisteredProtocolHandlers[]; |
476 | 478 |
477 } // namespace prefs | 479 } // namespace prefs |
478 | 480 |
479 #endif // CHROME_COMMON_PREF_NAMES_H_ | 481 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |