OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_HISTOGRAM_CONTROLLER_H_ | 5 #ifndef CONTENT_BROWSER_HISTOGRAM_CONTROLLER_H_ |
6 #define CONTENT_BROWSER_HISTOGRAM_CONTROLLER_H_ | 6 #define CONTENT_BROWSER_HISTOGRAM_CONTROLLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
| 11 #include "base/macros.h" |
11 #include "base/memory/singleton.h" | 12 #include "base/memory/singleton.h" |
12 | 13 |
13 namespace content { | 14 namespace content { |
14 | 15 |
15 class HistogramSubscriber; | 16 class HistogramSubscriber; |
16 | 17 |
17 // HistogramController is used on the browser process to collect histogram data. | 18 // HistogramController is used on the browser process to collect histogram data. |
18 // Only the browser UI thread is allowed to interact with the | 19 // Only the browser UI thread is allowed to interact with the |
19 // HistogramController object. | 20 // HistogramController object. |
20 class HistogramController { | 21 class HistogramController { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 void GetHistogramDataFromChildProcesses(int sequence_number); | 64 void GetHistogramDataFromChildProcesses(int sequence_number); |
64 | 65 |
65 HistogramSubscriber* subscriber_; | 66 HistogramSubscriber* subscriber_; |
66 | 67 |
67 DISALLOW_COPY_AND_ASSIGN(HistogramController); | 68 DISALLOW_COPY_AND_ASSIGN(HistogramController); |
68 }; | 69 }; |
69 | 70 |
70 } // namespace content | 71 } // namespace content |
71 | 72 |
72 #endif // CONTENT_BROWSER_HISTOGRAM_CONTROLLER_H_ | 73 #endif // CONTENT_BROWSER_HISTOGRAM_CONTROLLER_H_ |
OLD | NEW |