OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 20 matching lines...) Expand all Loading... |
31 #ifndef TALK_APP_WEBRTC_STATSTYPES_H_ | 31 #ifndef TALK_APP_WEBRTC_STATSTYPES_H_ |
32 #define TALK_APP_WEBRTC_STATSTYPES_H_ | 32 #define TALK_APP_WEBRTC_STATSTYPES_H_ |
33 | 33 |
34 #include <algorithm> | 34 #include <algorithm> |
35 #include <list> | 35 #include <list> |
36 #include <map> | 36 #include <map> |
37 #include <string> | 37 #include <string> |
38 | 38 |
39 #include "webrtc/base/basictypes.h" | 39 #include "webrtc/base/basictypes.h" |
40 #include "webrtc/base/common.h" | 40 #include "webrtc/base/common.h" |
| 41 #include "webrtc/base/linked_ptr.h" |
41 #include "webrtc/base/refcount.h" | 42 #include "webrtc/base/refcount.h" |
42 #include "webrtc/base/scoped_ptr.h" | 43 #include "webrtc/base/scoped_ptr.h" |
43 #include "webrtc/base/linked_ptr.h" | |
44 #include "webrtc/base/scoped_ref_ptr.h" | 44 #include "webrtc/base/scoped_ref_ptr.h" |
45 #include "webrtc/base/stringencode.h" | 45 #include "webrtc/base/stringencode.h" |
46 #include "webrtc/base/thread_checker.h" | 46 #include "webrtc/base/thread_checker.h" |
47 | 47 |
48 namespace webrtc { | 48 namespace webrtc { |
49 | 49 |
50 class StatsReport { | 50 class StatsReport { |
51 public: | 51 public: |
52 // Indicates whether a track is for sending or receiving. | 52 // Indicates whether a track is for sending or receiving. |
53 // Used in reports for audio/video tracks. | 53 // Used in reports for audio/video tracks. |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 StatsReport* Find(const StatsReport::Id& id); | 410 StatsReport* Find(const StatsReport::Id& id); |
411 | 411 |
412 private: | 412 private: |
413 Container list_; | 413 Container list_; |
414 rtc::ThreadChecker thread_checker_; | 414 rtc::ThreadChecker thread_checker_; |
415 }; | 415 }; |
416 | 416 |
417 } // namespace webrtc | 417 } // namespace webrtc |
418 | 418 |
419 #endif // TALK_APP_WEBRTC_STATSTYPES_H_ | 419 #endif // TALK_APP_WEBRTC_STATSTYPES_H_ |
OLD | NEW |