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 Local State prefs below instead. |
Mattias Nissler (ping if slow)
2011/04/05 10:57:51
Grammar.
Bernhard Bauer
2011/04/05 11:34:31
Whoops, forgot to save.
| |
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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
238 extern const char kAutofillPersonalDataManagerFirstRun[]; | 238 extern const char kAutofillPersonalDataManagerFirstRun[]; |
239 | 239 |
240 extern const char kUseVerticalTabs[]; | 240 extern const char kUseVerticalTabs[]; |
241 extern const char kEnableTranslate[]; | 241 extern const char kEnableTranslate[]; |
242 extern const char kPinnedTabs[]; | 242 extern const char kPinnedTabs[]; |
243 extern const char kHttpThrottlingEnabled[]; | 243 extern const char kHttpThrottlingEnabled[]; |
244 | 244 |
245 extern const char kPolicyUserPolicyRefreshRate[]; | 245 extern const char kPolicyUserPolicyRefreshRate[]; |
246 extern const char kPolicyDevicePolicyRefreshRate[]; | 246 extern const char kPolicyDevicePolicyRefreshRate[]; |
247 | 247 |
248 // Local state | 248 extern const char kDisable3DAPIs[]; |
249 extern const char kEnableHyperlinkAuditing[]; | |
250 extern const char kEnableReferrers[]; | |
251 | |
252 // Local state prefs. Please add Profile prefs above instead. | |
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[]; |
255 | 259 |
256 extern const char kProfileMetrics[]; | 260 extern const char kProfileMetrics[]; |
257 extern const char kProfilePrefix[]; | 261 extern const char kProfilePrefix[]; |
258 | 262 |
(...skipping 204 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 |