Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(799)

Side by Side Diff: chrome/common/pref_names.cc

Issue 312583002: Move MetricsStateManager into the Metrics component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 1323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1334 const char kCertRevocationCheckingRequiredLocalAnchors[] = 1334 const char kCertRevocationCheckingRequiredLocalAnchors[] =
1335 "ssl.rev_checking.required_for_local_anchors"; 1335 "ssl.rev_checking.required_for_local_anchors";
1336 const char kSSLVersionMin[] = "ssl.version_min"; 1336 const char kSSLVersionMin[] = "ssl.version_min";
1337 const char kSSLVersionMax[] = "ssl.version_max"; 1337 const char kSSLVersionMax[] = "ssl.version_max";
1338 const char kCipherSuiteBlacklist[] = "ssl.cipher_suites.blacklist"; 1338 const char kCipherSuiteBlacklist[] = "ssl.cipher_suites.blacklist";
1339 const char kDisableSSLRecordSplitting[] = "ssl.ssl_record_splitting.disabled"; 1339 const char kDisableSSLRecordSplitting[] = "ssl.ssl_record_splitting.disabled";
1340 1340
1341 // A boolean pref of the EULA accepted flag. 1341 // A boolean pref of the EULA accepted flag.
1342 const char kEulaAccepted[] = "EulaAccepted"; 1342 const char kEulaAccepted[] = "EulaAccepted";
1343 1343
1344 // The metrics client GUID, entropy source and session ID.
1345 // Note: The names client_id2 and low_entropy_source2 are a result of creating
1346 // new prefs to do a one-time reset of the previous values.
1347 const char kMetricsClientID[] = "user_experience_metrics.client_id2";
1348 const char kMetricsSessionID[] = "user_experience_metrics.session_id";
1349 const char kMetricsLowEntropySource[] =
1350 "user_experience_metrics.low_entropy_source2";
1351
1352 // Old client id and low entropy source values, cleared the first time this
1353 // version is launched.
1354 // TODO(asvitkine): Delete these after a few releases have gone by and old
1355 // values have been cleaned up. http://crbug.com/357704
1356 const char kMetricsOldClientID[] = "user_experience_metrics.client_id";
1357 const char kMetricsOldLowEntropySource[] =
1358 "user_experience_metrics.low_entropy_source";
1359
1360 // Boolean that specifies whether or not crash reporting and metrics reporting
1361 // are sent over the network for analysis.
1362 const char kMetricsReportingEnabled[] =
1363 "user_experience_metrics.reporting_enabled";
1364 // Date/time when the user opted in to UMA and generated the client id for the
1365 // very first time (local machine time, stored as a 64-bit time_t value).
1366 const char kMetricsReportingEnabledTimestamp[] =
1367 "user_experience_metrics.client_id_timestamp";
1368
1369 // Boolean that specifies whether or not crash reports are sent 1344 // Boolean that specifies whether or not crash reports are sent
1370 // over the network for analysis. 1345 // over the network for analysis.
1371 #if defined(OS_ANDROID) 1346 #if defined(OS_ANDROID)
1372 const char kCrashReportingEnabled[] = 1347 const char kCrashReportingEnabled[] =
1373 "user_experience_metrics_crash.reporting_enabled"; 1348 "user_experience_metrics_crash.reporting_enabled";
1374 #endif 1349 #endif
1375 1350
1376 // 64-bit integer serialization of the base::Time from the last successful seed 1351 // 64-bit integer serialization of the base::Time from the last successful seed
1377 // fetch (i.e. when the Variations server responds with 200 or 304). 1352 // fetch (i.e. when the Variations server responds with 200 or 304).
1378 const char kVariationsLastFetchTime[] = "variations_last_fetch_time"; 1353 const char kVariationsLastFetchTime[] = "variations_last_fetch_time";
(...skipping 1126 matching lines...) Expand 10 before | Expand all | Expand 10 after
2505 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2480 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2506 // given by the PartnerBookmarksProvider and either the user-visible renamed 2481 // given by the PartnerBookmarksProvider and either the user-visible renamed
2507 // title or an empty string if the bookmark node was removed. 2482 // title or an empty string if the bookmark node was removed.
2508 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2483 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2509 #endif 2484 #endif
2510 2485
2511 // Whether DNS Quick Check is disabled in proxy resolution. 2486 // Whether DNS Quick Check is disabled in proxy resolution.
2512 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2487 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2513 2488
2514 } // namespace prefs 2489 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698