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

Side by Side Diff: jingle/glue/thread_wrapper.cc

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « jingle/glue/pseudotcp_adapter.cc ('k') | jingle/glue/thread_wrapper_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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "jingle/glue/thread_wrapper.h" 5 #include "jingle/glue/thread_wrapper.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/threading/thread_local.h" 10 #include "base/threading/thread_local.h"
11 #include "third_party/libjingle/source/talk/base/nullsocketserver.h" 11 #include "third_party/libjingle/source/talk/base/nullsocketserver.h"
12 12
13 namespace jingle_glue { 13 namespace jingle_glue {
14 14
15 struct JingleThreadWrapper::PendingSend { 15 struct JingleThreadWrapper::PendingSend {
16 PendingSend(const talk_base::Message& message_value) 16 explicit PendingSend(const talk_base::Message& message_value)
17 : sending_thread(JingleThreadWrapper::current()), 17 : sending_thread(JingleThreadWrapper::current()),
18 message(message_value), 18 message(message_value),
19 done_event(true, false) { 19 done_event(true, false) {
20 DCHECK(sending_thread); 20 DCHECK(sending_thread);
21 } 21 }
22 22
23 JingleThreadWrapper* sending_thread; 23 JingleThreadWrapper* sending_thread;
24 talk_base::Message message; 24 talk_base::Message message;
25 base::WaitableEvent done_event; 25 base::WaitableEvent done_event;
26 }; 26 };
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 293
294 void JingleThreadWrapper::Stop() { 294 void JingleThreadWrapper::Stop() {
295 NOTREACHED(); 295 NOTREACHED();
296 } 296 }
297 297
298 void JingleThreadWrapper::Run() { 298 void JingleThreadWrapper::Run() {
299 NOTREACHED(); 299 NOTREACHED();
300 } 300 }
301 301
302 } // namespace jingle_glue 302 } // namespace jingle_glue
OLDNEW
« no previous file with comments | « jingle/glue/pseudotcp_adapter.cc ('k') | jingle/glue/thread_wrapper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698