Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: components/rappor/sample.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/rappor/rappor_service_unittest.cc ('k') | components/rappor/sample.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « components/rappor/rappor_service_unittest.cc ('k') | components/rappor/sample.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698