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

Side by Side Diff: webrtc/base/fakenetwork.h

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/dbus.cc ('k') | webrtc/base/location.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 2009 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2009 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 break; 61 break;
62 } 62 }
63 } 63 }
64 DoUpdateNetworks(); 64 DoUpdateNetworks();
65 } 65 }
66 66
67 virtual void StartUpdating() { 67 virtual void StartUpdating() {
68 ++start_count_; 68 ++start_count_;
69 if (start_count_ == 1) { 69 if (start_count_ == 1) {
70 sent_first_update_ = false; 70 sent_first_update_ = false;
71 thread_->Post(this); 71 thread_->Post(RTC_FROM_HERE, this);
72 } else { 72 } else {
73 if (sent_first_update_) { 73 if (sent_first_update_) {
74 SignalNetworksChanged(); 74 SignalNetworksChanged();
75 } 75 }
76 } 76 }
77 } 77 }
78 78
79 virtual void StopUpdating() { --start_count_; } 79 virtual void StopUpdating() { --start_count_; }
80 80
81 // MessageHandler interface. 81 // MessageHandler interface.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 int start_count_ = 0; 121 int start_count_ = 0;
122 bool sent_first_update_ = false; 122 bool sent_first_update_ = false;
123 123
124 IPAddress default_local_ipv4_address_; 124 IPAddress default_local_ipv4_address_;
125 IPAddress default_local_ipv6_address_; 125 IPAddress default_local_ipv6_address_;
126 }; 126 };
127 127
128 } // namespace rtc 128 } // namespace rtc
129 129
130 #endif // WEBRTC_BASE_FAKENETWORK_H_ 130 #endif // WEBRTC_BASE_FAKENETWORK_H_
OLDNEW
« no previous file with comments | « webrtc/base/dbus.cc ('k') | webrtc/base/location.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698