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

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

Issue 28283002: Track execution phase of browser process when we log if the broswer has (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Record in UMA histograms the browser execution phase Created 7 years, 1 month 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
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 1366 matching lines...) Expand 10 before | Expand all | Expand 10 after
1377 1377
1378 // String serialized form of variations seed protobuf. 1378 // String serialized form of variations seed protobuf.
1379 const char kVariationsSeed[] = "variations_seed"; 1379 const char kVariationsSeed[] = "variations_seed";
1380 1380
1381 // 64-bit integer serialization of the base::Time from the last seed received. 1381 // 64-bit integer serialization of the base::Time from the last seed received.
1382 const char kVariationsSeedDate[] = "variations_seed_date"; 1382 const char kVariationsSeedDate[] = "variations_seed_date";
1383 1383
1384 // SHA-1 hash of the serialized variations seed data. 1384 // SHA-1 hash of the serialized variations seed data.
1385 const char kVariationsSeedHash[] = "variations_seed_hash"; 1385 const char kVariationsSeedHash[] = "variations_seed_hash";
1386 1386
1387 // An enum value to indicate the execution phase the browser was in.
1388 const char kStabilityExecutionPhase[] =
1389 "user_experience_metrics.stability.execution_phase";
1390
1387 // True if the previous run of the program exited cleanly. 1391 // True if the previous run of the program exited cleanly.
1388 const char kStabilityExitedCleanly[] = 1392 const char kStabilityExitedCleanly[] =
1389 "user_experience_metrics.stability.exited_cleanly"; 1393 "user_experience_metrics.stability.exited_cleanly";
1390 1394
1391 // Version string of previous run, which is used to assure that stability 1395 // Version string of previous run, which is used to assure that stability
1392 // metrics reported under current version reflect stability of the same version. 1396 // metrics reported under current version reflect stability of the same version.
1393 const char kStabilityStatsVersion[] = 1397 const char kStabilityStatsVersion[] =
1394 "user_experience_metrics.stability.stats_version"; 1398 "user_experience_metrics.stability.stats_version";
1395 1399
1396 // Build time, in seconds since an epoch, which is used to assure that stability 1400 // Build time, in seconds since an epoch, which is used to assure that stability
(...skipping 1177 matching lines...) Expand 10 before | Expand all | Expand 10 after
2574 // A dictionary pref which maps profile names to dictionary values which hold 2578 // A dictionary pref which maps profile names to dictionary values which hold
2575 // hashes of profile prefs that we track to detect changes that happen outside 2579 // hashes of profile prefs that we track to detect changes that happen outside
2576 // of Chrome. 2580 // of Chrome.
2577 const char kProfilePreferenceHashes[] = "profile.preference_hashes"; 2581 const char kProfilePreferenceHashes[] = "profile.preference_hashes";
2578 2582
2579 // Stores a pair of local time and corresponding network time to bootstrap 2583 // Stores a pair of local time and corresponding network time to bootstrap
2580 // network time tracker when browser starts. 2584 // network time tracker when browser starts.
2581 const char kNetworkTimeMapping[] = "profile.network_time_mapping"; 2585 const char kNetworkTimeMapping[] = "profile.network_time_mapping";
2582 2586
2583 } // namespace prefs 2587 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698