[M120 Migration][VD] Enable direct rendering for TVPlus
[platform/framework/web/chromium-efl.git] / components / metrics / client_info.h
1 // Copyright 2014 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_METRICS_CLIENT_INFO_H_
6 #define COMPONENTS_METRICS_CLIENT_INFO_H_
7
8 #include <stdint.h>
9
10 #include <string>
11
12 namespace metrics {
13
14 // A data object used to pass data from outside the metrics component into the
15 // metrics component.
16 struct ClientInfo {
17  public:
18   ClientInfo();
19   ~ClientInfo();
20
21   // The metrics ID of this client: represented as a GUID string.
22   std::string client_id;
23
24   // The installation date: represented as an epoch time in seconds.
25   int64_t installation_date;
26
27   // The date on which metrics reporting was enabled: represented as an epoch
28   // time in seconds.
29   int64_t reporting_enabled_date;
30 };
31
32 }  // namespace metrics
33
34 #endif  // COMPONENTS_METRICS_CLIENT_INFO_H_