OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 // This file contains structures used for retrieving statistics from an ongoing | 11 // This file contains structures used for retrieving statistics from an ongoing |
12 // libjingle session. | 12 // libjingle session. |
13 | 13 |
14 #ifndef WEBRTC_API_STATSTYPES_H_ | 14 #ifndef WEBRTC_API_STATSTYPES_H_ |
15 #define WEBRTC_API_STATSTYPES_H_ | 15 #define WEBRTC_API_STATSTYPES_H_ |
16 | 16 |
17 #include <algorithm> | 17 #include <algorithm> |
18 #include <list> | 18 #include <list> |
19 #include <map> | 19 #include <map> |
20 #include <string> | 20 #include <string> |
21 | 21 |
22 #include "webrtc/base/basictypes.h" | 22 #include "webrtc/base/basictypes.h" |
23 #include "webrtc/base/common.h" | 23 #include "webrtc/base/common.h" |
| 24 #include "webrtc/base/constructormagic.h" |
24 #include "webrtc/base/linked_ptr.h" | 25 #include "webrtc/base/linked_ptr.h" |
25 #include "webrtc/base/refcount.h" | 26 #include "webrtc/base/refcount.h" |
26 #include "webrtc/base/scoped_ptr.h" | 27 #include "webrtc/base/scoped_ptr.h" |
27 #include "webrtc/base/scoped_ref_ptr.h" | 28 #include "webrtc/base/scoped_ref_ptr.h" |
28 #include "webrtc/base/stringencode.h" | 29 #include "webrtc/base/stringencode.h" |
29 #include "webrtc/base/thread_checker.h" | 30 #include "webrtc/base/thread_checker.h" |
30 | 31 |
31 namespace webrtc { | 32 namespace webrtc { |
32 | 33 |
33 class StatsReport { | 34 class StatsReport { |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 StatsReport* Find(const StatsReport::Id& id); | 395 StatsReport* Find(const StatsReport::Id& id); |
395 | 396 |
396 private: | 397 private: |
397 Container list_; | 398 Container list_; |
398 rtc::ThreadChecker thread_checker_; | 399 rtc::ThreadChecker thread_checker_; |
399 }; | 400 }; |
400 | 401 |
401 } // namespace webrtc | 402 } // namespace webrtc |
402 | 403 |
403 #endif // WEBRTC_API_STATSTYPES_H_ | 404 #endif // WEBRTC_API_STATSTYPES_H_ |
OLD | NEW |