OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_RAPPOR_SAMPLE_H_ | 5 #ifndef COMPONENTS_RAPPOR_SAMPLE_H_ |
6 #define COMPONENTS_RAPPOR_SAMPLE_H_ | 6 #define COMPONENTS_RAPPOR_SAMPLE_H_ |
ncarter (slow)
2016/12/01 22:33:32
Update this guard
Navid Zolghadr
2016/12/02 20:47:35
Done.
| |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <map> | 11 #include <map> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "components/rappor/rappor_parameters.h" | 15 #include "components/rappor/public/rappor_parameters.h" |
16 | 16 |
17 namespace rappor { | 17 namespace rappor { |
18 | 18 |
19 class RapporReports; | 19 class RapporReports; |
20 class RapporService; | 20 class RapporService; |
21 class TestSamplerFactory; | 21 class TestSamplerFactory; |
22 | 22 |
23 // Sample is a container for information about a single instance of some event | 23 // Sample is a container for information about a single instance of some event |
24 // we are sending Rappor data about. It may contain multiple different fields, | 24 // we are sending Rappor data about. It may contain multiple different fields, |
25 // which describe different details of the event, and they will be sent in the | 25 // which describe different details of the event, and they will be sent in the |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
83 | 83 |
84 // Information about all recorded fields. | 84 // Information about all recorded fields. |
85 std::map<std::string, FieldInfo> field_info_; | 85 std::map<std::string, FieldInfo> field_info_; |
86 | 86 |
87 DISALLOW_COPY_AND_ASSIGN(Sample); | 87 DISALLOW_COPY_AND_ASSIGN(Sample); |
88 }; | 88 }; |
89 | 89 |
90 } // namespace rappor | 90 } // namespace rappor |
91 | 91 |
92 #endif // COMPONENTS_RAPPOR_SAMPLE_H_ | 92 #endif // COMPONENTS_RAPPOR_SAMPLE_H_ |
OLD | NEW |