OLD | NEW |
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 // 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 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
11 | 11 |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 | 13 |
14 #include "components/autofill/core/common/autofill_pref_names.h" | 14 #include "components/autofill/core/common/autofill_pref_names.h" |
15 #include "components/bookmarks/common/bookmark_pref_names.h" | 15 #include "components/bookmarks/common/bookmark_pref_names.h" |
16 #include "components/data_reduction_proxy/common/data_reduction_proxy_pref_names
.h" | 16 #include "components/data_reduction_proxy/common/data_reduction_proxy_pref_names
.h" |
| 17 #include "components/metrics/metrics_pref_names.h" |
17 #include "components/signin/core/common/signin_pref_names.h" | 18 #include "components/signin/core/common/signin_pref_names.h" |
18 | 19 |
19 namespace prefs { | 20 namespace prefs { |
20 | 21 |
21 // Profile prefs. Please add Local State prefs below instead. | 22 // Profile prefs. Please add Local State prefs below instead. |
22 extern const char kDefaultApps[]; | 23 extern const char kDefaultApps[]; |
23 extern const char kDefaultAppsInstalled[]; | 24 extern const char kDefaultAppsInstalled[]; |
24 extern const char kDisableScreenshots[]; | 25 extern const char kDisableScreenshots[]; |
25 extern const char kHomePageIsNewTabPage[]; | 26 extern const char kHomePageIsNewTabPage[]; |
26 extern const char kHomePage[]; | 27 extern const char kHomePage[]; |
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 extern const char kSSLVersionMax[]; | 419 extern const char kSSLVersionMax[]; |
419 extern const char kCipherSuiteBlacklist[]; | 420 extern const char kCipherSuiteBlacklist[]; |
420 extern const char kDisableSSLRecordSplitting[]; | 421 extern const char kDisableSSLRecordSplitting[]; |
421 | 422 |
422 extern const char kGLVendorString[]; | 423 extern const char kGLVendorString[]; |
423 extern const char kGLRendererString[]; | 424 extern const char kGLRendererString[]; |
424 extern const char kGLVersionString[]; | 425 extern const char kGLVersionString[]; |
425 | 426 |
426 extern const char kEulaAccepted[]; | 427 extern const char kEulaAccepted[]; |
427 | 428 |
428 extern const char kMetricsClientID[]; | |
429 extern const char kMetricsSessionID[]; | |
430 extern const char kMetricsLowEntropySource[]; | |
431 extern const char kMetricsOldClientID[]; | |
432 extern const char kMetricsOldLowEntropySource[]; | |
433 extern const char kMetricsReportingEnabled[]; | |
434 extern const char kMetricsReportingEnabledTimestamp[]; | |
435 // Android has it's own metric / crash reporting implemented in Android | 429 // Android has it's own metric / crash reporting implemented in Android |
436 // Java code so kMetricsReportingEnabled doesn't make sense. We use this | 430 // Java code so kMetricsReportingEnabled doesn't make sense. We use this |
437 // to inform crashes_ui that we have enabled crash reporting. | 431 // to inform crashes_ui that we have enabled crash reporting. |
438 #if defined(OS_ANDROID) | 432 #if defined(OS_ANDROID) |
439 extern const char kCrashReportingEnabled[]; | 433 extern const char kCrashReportingEnabled[]; |
440 #endif | 434 #endif |
441 | 435 |
442 extern const char kVariationsLastFetchTime[]; | 436 extern const char kVariationsLastFetchTime[]; |
443 extern const char kVariationsRestrictParameter[]; | 437 extern const char kVariationsRestrictParameter[]; |
444 extern const char kVariationsSeed[]; | 438 extern const char kVariationsSeed[]; |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 | 868 |
875 #if defined(OS_ANDROID) | 869 #if defined(OS_ANDROID) |
876 extern const char kPartnerBookmarkMappings[]; | 870 extern const char kPartnerBookmarkMappings[]; |
877 #endif | 871 #endif |
878 | 872 |
879 extern const char kQuickCheckEnabled[]; | 873 extern const char kQuickCheckEnabled[]; |
880 | 874 |
881 } // namespace prefs | 875 } // namespace prefs |
882 | 876 |
883 #endif // CHROME_COMMON_PREF_NAMES_H_ | 877 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |