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

Side by Side Diff: webrtc/base/stream.cc

Issue 2019423006: Adding more detail to MessageQueue::Dispatch logging. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 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
OLDNEW
1 /* 1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 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
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 } 87 }
88 line->push_back(ch); 88 line->push_back(ch);
89 } 89 }
90 if (!line->empty()) { // give back the line we've collected so far with 90 if (!line->empty()) { // give back the line we've collected so far with
91 result = SR_SUCCESS; // a success code. Otherwise return the last code 91 result = SR_SUCCESS; // a success code. Otherwise return the last code
92 } 92 }
93 return result; 93 return result;
94 } 94 }
95 95
96 void StreamInterface::PostEvent(Thread* t, int events, int err) { 96 void StreamInterface::PostEvent(Thread* t, int events, int err) {
97 t->Post(this, MSG_POST_EVENT, new StreamEventData(events, err)); 97 t->Post(FROM_HERE, this, MSG_POST_EVENT, new StreamEventData(events, err));
98 } 98 }
99 99
100 void StreamInterface::PostEvent(int events, int err) { 100 void StreamInterface::PostEvent(int events, int err) {
101 PostEvent(Thread::Current(), events, err); 101 PostEvent(Thread::Current(), events, err);
102 } 102 }
103 103
104 const void* StreamInterface::GetReadData(size_t* data_len) { 104 const void* StreamInterface::GetReadData(size_t* data_len) {
105 return NULL; 105 return NULL;
106 } 106 }
107 107
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after
1118 1118
1119 if (data_len) { 1119 if (data_len) {
1120 *data_len = 0; 1120 *data_len = 0;
1121 } 1121 }
1122 return SR_SUCCESS; 1122 return SR_SUCCESS;
1123 } 1123 }
1124 1124
1125 /////////////////////////////////////////////////////////////////////////////// 1125 ///////////////////////////////////////////////////////////////////////////////
1126 1126
1127 } // namespace rtc 1127 } // namespace rtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698