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

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

Issue 217083002: One-time reset of UMA client ids and low entropy source. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 8 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 1344 matching lines...) Expand 10 before | Expand all | Expand 10 after
1355 const char kSSLVersionMin[] = "ssl.version_min"; 1355 const char kSSLVersionMin[] = "ssl.version_min";
1356 const char kSSLVersionMax[] = "ssl.version_max"; 1356 const char kSSLVersionMax[] = "ssl.version_max";
1357 const char kCipherSuiteBlacklist[] = "ssl.cipher_suites.blacklist"; 1357 const char kCipherSuiteBlacklist[] = "ssl.cipher_suites.blacklist";
1358 const char kEnableOriginBoundCerts[] = "ssl.origin_bound_certs.enabled"; 1358 const char kEnableOriginBoundCerts[] = "ssl.origin_bound_certs.enabled";
1359 const char kDisableSSLRecordSplitting[] = "ssl.ssl_record_splitting.disabled"; 1359 const char kDisableSSLRecordSplitting[] = "ssl.ssl_record_splitting.disabled";
1360 1360
1361 // A boolean pref of the EULA accepted flag. 1361 // A boolean pref of the EULA accepted flag.
1362 const char kEulaAccepted[] = "EulaAccepted"; 1362 const char kEulaAccepted[] = "EulaAccepted";
1363 1363
1364 // The metrics client GUID, entropy source and session ID. 1364 // The metrics client GUID, entropy source and session ID.
1365 const char kMetricsClientID[] = "user_experience_metrics.client_id"; 1365 const char kMetricsClientID[] = "user_experience_metrics.client_id2";
rkaplow 2014/03/28 17:20:26 Understand this is temp but would still add a comm
Alexei Svitkine (slow) 2014/03/28 17:39:15 Agree about the comment, though the 2 is here to s
1366 // Date/time when the user opted in to UMA (local machine time, stored as a
1367 // 64-bit time_t value).
1368 const char kMetricsClientIDTimestamp[] =
1369 "user_experience_metrics.client_id_timestamp";
1366 const char kMetricsSessionID[] = "user_experience_metrics.session_id"; 1370 const char kMetricsSessionID[] = "user_experience_metrics.session_id";
1367 const char kMetricsLowEntropySource[] = 1371 const char kMetricsLowEntropySource[] =
1368 "user_experience_metrics.low_entropy_source"; 1372 "user_experience_metrics.low_entropy_source2";
1369 const char kMetricsPermutedEntropyCache[] = 1373 const char kMetricsPermutedEntropyCache[] =
1370 "user_experience_metrics.permuted_entropy_cache"; 1374 "user_experience_metrics.permuted_entropy_cache";
1371 1375
1372 // Date/time when the current metrics profile ID was created 1376 // Old client id and low entropy source values, cleared the first time this
1373 // (which hopefully corresponds to first run). 1377 // version is launched.
1374 const char kMetricsClientIDTimestamp[] = 1378 // TODO(asvitkine): Delete these after a few releases have gone by and old
1375 "user_experience_metrics.client_id_timestamp"; 1379 // values have been cleaned up.
1380 const char kMetricsOldClientID[] = "user_experience_metrics.client_id";
1381 const char kMetricsOldLowEntropySource[] =
1382 "user_experience_metrics.low_entropy_source";
1376 1383
1377 // Boolean that specifies whether or not crash reporting and metrics reporting 1384 // Boolean that specifies whether or not crash reporting and metrics reporting
1378 // are sent over the network for analysis. 1385 // are sent over the network for analysis.
1379 const char kMetricsReportingEnabled[] = 1386 const char kMetricsReportingEnabled[] =
1380 "user_experience_metrics.reporting_enabled"; 1387 "user_experience_metrics.reporting_enabled";
1381 1388
1382 // A machine ID used to detect when underlying hardware changes. It is only 1389 // A machine ID used to detect when underlying hardware changes. It is only
1383 // stored locally and never transmitted in metrics reports. 1390 // stored locally and never transmitted in metrics reports.
1384 const char kMetricsMachineId[] = "user_experience_metrics.machine_id"; 1391 const char kMetricsMachineId[] = "user_experience_metrics.machine_id";
1385 1392
(...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after
2594 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2601 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2595 // given by the PartnerBookmarksProvider and either the user-visible renamed 2602 // given by the PartnerBookmarksProvider and either the user-visible renamed
2596 // title or an empty string if the bookmark node was removed. 2603 // title or an empty string if the bookmark node was removed.
2597 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2604 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2598 #endif 2605 #endif
2599 2606
2600 // Whether DNS Quick Check is disabled in proxy resolution. 2607 // Whether DNS Quick Check is disabled in proxy resolution.
2601 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2608 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2602 2609
2603 } // namespace prefs 2610 } // namespace prefs
OLDNEW
« chrome/browser/metrics/metrics_service.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698