Chromium Code Reviews| Index: components/startup_metric_utils/browser/pref_names.cc |
| diff --git a/components/startup_metric_utils/browser/pref_names.cc b/components/startup_metric_utils/browser/pref_names.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c075e7a2b9cebb18e92672ae0ce2c747afbd6fd0 |
| --- /dev/null |
| +++ b/components/startup_metric_utils/browser/pref_names.cc |
| @@ -0,0 +1,21 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#include "components/startup_metric_utils/browser/pref_names.h" |
| + |
| +namespace startup_metric_utils { |
| +namespace prefs { |
| + |
| +// Time of the last Chrome startup stored as an int64. |
|
fdoray
2016/01/22 16:08:54
Is it ok to use Chrome in comments considering tha
gab
2016/01/22 16:51:44
Good point, removed and also adapted existing comm
|
| +const char kLastStartupTimestamp[] = "startup_metric.last_startup_timestamp"; |
| + |
| +// Version of Chrome in the startup preceding this one. |
| +const char kLastStartupVersion[] = "startup_metric.last_startup_version"; |
| + |
| +// Number of startups previously seen with kLastStartupVersion. |
| +const char kSameVersionStartupCount[] = |
| + "startup_metric.same_version_startup_count"; |
| + |
| +} // namespace prefs |
| +} // namespace startup_metric_utils |