OLD | NEW |
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_RAPPOR_RAPPOR_SERVICE_H_ | 5 #ifndef COMPONENTS_RAPPOR_RAPPOR_SERVICE_H_ |
6 #define COMPONENTS_RAPPOR_RAPPOR_SERVICE_H_ | 6 #define COMPONENTS_RAPPOR_RAPPOR_SERVICE_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <string> | 11 #include <string> |
10 | 12 |
11 #include "base/basictypes.h" | |
12 #include "base/callback.h" | 13 #include "base/callback.h" |
13 #include "base/macros.h" | 14 #include "base/macros.h" |
14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
15 #include "base/threading/thread_checker.h" | 16 #include "base/threading/thread_checker.h" |
16 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
17 #include "components/metrics/daily_event.h" | 18 #include "components/metrics/daily_event.h" |
18 #include "components/rappor/rappor_parameters.h" | 19 #include "components/rappor/rappor_parameters.h" |
19 #include "components/rappor/sample.h" | 20 #include "components/rappor/sample.h" |
20 #include "components/rappor/sampler.h" | 21 #include "components/rappor/sampler.h" |
21 | 22 |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 internal::Sampler sampler_; | 165 internal::Sampler sampler_; |
165 | 166 |
166 base::ThreadChecker thread_checker_; | 167 base::ThreadChecker thread_checker_; |
167 | 168 |
168 DISALLOW_COPY_AND_ASSIGN(RapporService); | 169 DISALLOW_COPY_AND_ASSIGN(RapporService); |
169 }; | 170 }; |
170 | 171 |
171 } // namespace rappor | 172 } // namespace rappor |
172 | 173 |
173 #endif // COMPONENTS_RAPPOR_RAPPOR_SERVICE_H_ | 174 #endif // COMPONENTS_RAPPOR_RAPPOR_SERVICE_H_ |
OLD | NEW |