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

Side by Side Diff: components/metrics/client_info.h

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 11 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
« no previous file with comments | « components/metrics/clean_exit_beacon.cc ('k') | components/metrics/cloned_install_detector.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef COMPONENTS_METRICS_CLIENT_INFO_H_ 5 #ifndef COMPONENTS_METRICS_CLIENT_INFO_H_
6 #define COMPONENTS_METRICS_CLIENT_INFO_H_ 6 #define COMPONENTS_METRICS_CLIENT_INFO_H_
7 7
8 #include <stdint.h>
9
8 #include <string> 10 #include <string>
9 11
10 #include "base/basictypes.h"
11 #include "base/macros.h" 12 #include "base/macros.h"
12 13
13 namespace metrics { 14 namespace metrics {
14 15
15 // A data object used to pass data from outside the metrics component into the 16 // A data object used to pass data from outside the metrics component into the
16 // metrics component. 17 // metrics component.
17 struct ClientInfo { 18 struct ClientInfo {
18 public: 19 public:
19 ClientInfo(); 20 ClientInfo();
20 ~ClientInfo(); 21 ~ClientInfo();
21 22
22 // The metrics ID of this client: represented as a GUID string. 23 // The metrics ID of this client: represented as a GUID string.
23 std::string client_id; 24 std::string client_id;
24 25
25 // The installation date: represented as an epoch time in seconds. 26 // The installation date: represented as an epoch time in seconds.
26 int64 installation_date; 27 int64_t installation_date;
27 28
28 // The date on which metrics reporting was enabled: represented as an epoch 29 // The date on which metrics reporting was enabled: represented as an epoch
29 // time in seconds. 30 // time in seconds.
30 int64 reporting_enabled_date; 31 int64_t reporting_enabled_date;
31 }; 32 };
32 33
33 } // namespace metrics 34 } // namespace metrics
34 35
35 #endif // COMPONENTS_METRICS_CLIENT_INFO_H_ 36 #endif // COMPONENTS_METRICS_CLIENT_INFO_H_
OLDNEW
« no previous file with comments | « components/metrics/clean_exit_beacon.cc ('k') | components/metrics/cloned_install_detector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698