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