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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
419 extern const char kSSLVersionMax[]; | 420 extern const char kSSLVersionMax[]; |
420 extern const char kCipherSuiteBlacklist[]; | 421 extern const char kCipherSuiteBlacklist[]; |
421 extern const char kDisableSSLRecordSplitting[]; | 422 extern const char kDisableSSLRecordSplitting[]; |
422 | 423 |
423 extern const char kGLVendorString[]; | 424 extern const char kGLVendorString[]; |
424 extern const char kGLRendererString[]; | 425 extern const char kGLRendererString[]; |
425 extern const char kGLVersionString[]; | 426 extern const char kGLVersionString[]; |
426 | 427 |
427 extern const char kEulaAccepted[]; | 428 extern const char kEulaAccepted[]; |
428 | 429 |
429 extern const char kMetricsClientID[]; | |
430 extern const char kMetricsSessionID[]; | |
431 extern const char kMetricsLowEntropySource[]; | |
432 extern const char kMetricsOldClientID[]; | |
433 extern const char kMetricsOldLowEntropySource[]; | |
434 extern const char kMetricsReportingEnabled[]; | 430 extern const char kMetricsReportingEnabled[]; |
435 extern const char kMetricsReportingEnabledTimestamp[]; | 431 |
436 // Android has it's own metric / crash reporting implemented in Android | 432 // Android has it's own metric / crash reporting implemented in Android |
437 // Java code so kMetricsReportingEnabled doesn't make sense. We use this | 433 // Java code so kMetricsReportingEnabled doesn't make sense. We use this |
438 // to inform crashes_ui that we have enabled crash reporting. | 434 // to inform crashes_ui that we have enabled crash reporting. |
439 #if defined(OS_ANDROID) | 435 #if defined(OS_ANDROID) |
440 extern const char kCrashReportingEnabled[]; | 436 extern const char kCrashReportingEnabled[]; |
441 #endif | 437 #endif |
442 | 438 |
443 extern const char kVariationsLastFetchTime[]; | 439 extern const char kVariationsLastFetchTime[]; |
444 extern const char kVariationsRestrictParameter[]; | 440 extern const char kVariationsRestrictParameter[]; |
445 extern const char kVariationsSeed[]; | 441 extern const char kVariationsSeed[]; |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
877 | 873 |
878 #if defined(OS_ANDROID) | 874 #if defined(OS_ANDROID) |
879 extern const char kPartnerBookmarkMappings[]; | 875 extern const char kPartnerBookmarkMappings[]; |
880 #endif | 876 #endif |
881 | 877 |
882 extern const char kQuickCheckEnabled[]; | 878 extern const char kQuickCheckEnabled[]; |
883 | 879 |
884 } // namespace prefs | 880 } // namespace prefs |
885 | 881 |
886 #endif // CHROME_COMMON_PREF_NAMES_H_ | 882 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |