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

Side by Side Diff: webrtc/logging/rtc_event_log/ringbuffer.h

Issue 2380683005: Moved RtcEventLog files from call/ to logging/ (new top level dir) (Closed)
Patch Set: Rebase to master Created 4 years, 2 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 | « webrtc/logging/rtc_event_log/DEPS ('k') | webrtc/logging/rtc_event_log/ringbuffer_unittest.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 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 11
12 #ifndef WEBRTC_CALL_RINGBUFFER_H_ 12 #ifndef WEBRTC_LOGGING_RTC_EVENT_LOG_RINGBUFFER_H_
13 #define WEBRTC_CALL_RINGBUFFER_H_ 13 #define WEBRTC_LOGGING_RTC_EVENT_LOG_RINGBUFFER_H_
14 14
15 #include <memory> 15 #include <memory>
16 #include <utility> 16 #include <utility>
17 17
18 #include "webrtc/base/checks.h" 18 #include "webrtc/base/checks.h"
19 #include "webrtc/base/constructormagic.h" 19 #include "webrtc/base/constructormagic.h"
20 20
21 namespace webrtc { 21 namespace webrtc {
22 22
23 // A RingBuffer works like a fixed size queue which starts discarding 23 // A RingBuffer works like a fixed size queue which starts discarding
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 std::unique_ptr<T[]> data_; 90 std::unique_ptr<T[]> data_;
91 T* end_; 91 T* end_;
92 T* front_; 92 T* front_;
93 T* back_; 93 T* back_;
94 94
95 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RingBuffer); 95 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RingBuffer);
96 }; 96 };
97 97
98 } // namespace webrtc 98 } // namespace webrtc
99 99
100 #endif // WEBRTC_CALL_RINGBUFFER_H_ 100 #endif // WEBRTC_LOGGING_RTC_EVENT_LOG_RINGBUFFER_H_
OLDNEW
« no previous file with comments | « webrtc/logging/rtc_event_log/DEPS ('k') | webrtc/logging/rtc_event_log/ringbuffer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698