| 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_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
| 8 #include <map> | 11 #include <map> |
| 9 #include <string> | 12 #include <string> |
| 10 | 13 |
| 11 #include "base/basictypes.h" | |
| 12 #include "base/macros.h" | 14 #include "base/macros.h" |
| 13 #include "components/rappor/rappor_parameters.h" | 15 #include "components/rappor/rappor_parameters.h" |
| 14 | 16 |
| 15 namespace rappor { | 17 namespace rappor { |
| 16 | 18 |
| 17 class RapporReports; | 19 class RapporReports; |
| 18 class RapporService; | 20 class RapporService; |
| 19 class TestSamplerFactory; | 21 class TestSamplerFactory; |
| 20 | 22 |
| 21 // 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 |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 | 65 |
| 64 // The non-randomized report values for each field. | 66 // The non-randomized report values for each field. |
| 65 std::map<std::string, uint64_t> fields_; | 67 std::map<std::string, uint64_t> fields_; |
| 66 | 68 |
| 67 DISALLOW_COPY_AND_ASSIGN(Sample); | 69 DISALLOW_COPY_AND_ASSIGN(Sample); |
| 68 }; | 70 }; |
| 69 | 71 |
| 70 } // namespace rappor | 72 } // namespace rappor |
| 71 | 73 |
| 72 #endif // COMPONENTS_RAPPOR_SAMPLE_H_ | 74 #endif // COMPONENTS_RAPPOR_SAMPLE_H_ |
| OLD | NEW |