Update V8 to version 4.6.62.
[chromium-blink-merge.git] / components / metrics / client_info.h
blob733d08788789ba28ed3e9c1de3217a6350f3c376
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
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_METRICS_CLIENT_INFO_H_
6 #define COMPONENTS_METRICS_CLIENT_INFO_H_
8 #include <string>
10 #include "base/basictypes.h"
11 #include "base/macros.h"
13 namespace metrics {
15 // A data object used to pass data from outside the metrics component into the
16 // metrics component.
17 struct ClientInfo {
18 public:
19 ClientInfo();
20 ~ClientInfo();
22 // The metrics ID of this client: represented as a GUID string.
23 std::string client_id;
25 // The installation date: represented as an epoch time in seconds.
26 int64 installation_date;
28 // The date on which metrics reporting was enabled: represented as an epoch
29 // time in seconds.
30 int64 reporting_enabled_date;
33 } // namespace metrics
35 #endif // COMPONENTS_METRICS_CLIENT_INFO_H_