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

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: Fixing one more place where RTC_FROM_HERE wasn't used. 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
« no previous file with comments | « webrtc/base/socket_unittest.cc ('k') | webrtc/base/task_queue.h » ('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 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(RTC_FROM_HERE, this, MSG_POST_EVENT,
98 new StreamEventData(events, err));
98 } 99 }
99 100
100 void StreamInterface::PostEvent(int events, int err) { 101 void StreamInterface::PostEvent(int events, int err) {
101 PostEvent(Thread::Current(), events, err); 102 PostEvent(Thread::Current(), events, err);
102 } 103 }
103 104
104 const void* StreamInterface::GetReadData(size_t* data_len) { 105 const void* StreamInterface::GetReadData(size_t* data_len) {
105 return NULL; 106 return NULL;
106 } 107 }
107 108
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after
1118 1119
1119 if (data_len) { 1120 if (data_len) {
1120 *data_len = 0; 1121 *data_len = 0;
1121 } 1122 }
1122 return SR_SUCCESS; 1123 return SR_SUCCESS;
1123 } 1124 }
1124 1125
1125 /////////////////////////////////////////////////////////////////////////////// 1126 ///////////////////////////////////////////////////////////////////////////////
1126 1127
1127 } // namespace rtc 1128 } // namespace rtc
OLDNEW
« no previous file with comments | « webrtc/base/socket_unittest.cc ('k') | webrtc/base/task_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698