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_SYNCHRONIZER_H_ | 5 #ifndef CONTENT_BROWSER_HISTOGRAM_SYNCHRONIZER_H_ |
6 #define CONTENT_BROWSER_HISTOGRAM_SYNCHRONIZER_H_ | 6 #define CONTENT_BROWSER_HISTOGRAM_SYNCHRONIZER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | |
12 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/macros.h" |
13 #include "base/memory/singleton.h" | 13 #include "base/memory/singleton.h" |
14 #include "base/synchronization/lock.h" | 14 #include "base/synchronization/lock.h" |
15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
16 #include "content/browser/histogram_subscriber.h" | 16 #include "content/browser/histogram_subscriber.h" |
17 | 17 |
18 namespace base { | 18 namespace base { |
19 class MessageLoop; | 19 class MessageLoop; |
20 } | 20 } |
21 | 21 |
22 namespace content { | 22 namespace content { |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 // The sequence number used by the most recent asynchronous update request to | 145 // The sequence number used by the most recent asynchronous update request to |
146 // contact all processes. | 146 // contact all processes. |
147 int async_sequence_number_; | 147 int async_sequence_number_; |
148 | 148 |
149 DISALLOW_COPY_AND_ASSIGN(HistogramSynchronizer); | 149 DISALLOW_COPY_AND_ASSIGN(HistogramSynchronizer); |
150 }; | 150 }; |
151 | 151 |
152 } // namespace content | 152 } // namespace content |
153 | 153 |
154 #endif // CONTENT_BROWSER_HISTOGRAM_SYNCHRONIZER_H_ | 154 #endif // CONTENT_BROWSER_HISTOGRAM_SYNCHRONIZER_H_ |
OLD | NEW |