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

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

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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 // 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 #ifndef JINGLE_GLUE_THREAD_WRAPPER_H_ 5 #ifndef JINGLE_GLUE_THREAD_WRAPPER_H_
6 #define JINGLE_GLUE_THREAD_WRAPPER_H_ 6 #define JINGLE_GLUE_THREAD_WRAPPER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
11 #include <map> 11 #include <map>
12 #include <memory> 12 #include <memory>
13 13
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/message_loop/message_loop.h" 16 #include "base/message_loop/message_loop.h"
17 #include "base/single_thread_task_runner.h"
17 #include "base/synchronization/lock.h" 18 #include "base/synchronization/lock.h"
18 #include "base/synchronization/waitable_event.h" 19 #include "base/synchronization/waitable_event.h"
19 #include "third_party/webrtc/base/thread.h" 20 #include "third_party/webrtc/base/thread.h"
20 21
21 namespace jingle_glue { 22 namespace jingle_glue {
22 23
23 // JingleThreadWrapper implements rtc::Thread interface on top of 24 // JingleThreadWrapper implements rtc::Thread interface on top of
24 // Chromium's SingleThreadTaskRunner interface. Currently only the bare minimum 25 // Chromium's SingleThreadTaskRunner interface. Currently only the bare minimum
25 // that is used by P2P part of libjingle is implemented. There are two ways to 26 // that is used by P2P part of libjingle is implemented. There are two ways to
26 // create this object: 27 // create this object:
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 131
131 base::WeakPtr<JingleThreadWrapper> weak_ptr_; 132 base::WeakPtr<JingleThreadWrapper> weak_ptr_;
132 base::WeakPtrFactory<JingleThreadWrapper> weak_ptr_factory_; 133 base::WeakPtrFactory<JingleThreadWrapper> weak_ptr_factory_;
133 134
134 DISALLOW_COPY_AND_ASSIGN(JingleThreadWrapper); 135 DISALLOW_COPY_AND_ASSIGN(JingleThreadWrapper);
135 }; 136 };
136 137
137 } // namespace jingle_glue 138 } // namespace jingle_glue
138 139
139 #endif // JINGLE_GLUE_THREAD_WRAPPER_H_ 140 #endif // JINGLE_GLUE_THREAD_WRAPPER_H_
OLDNEW
« no previous file with comments | « ios/web_view/internal/web_view_browser_state.mm ('k') | media/audio/audio_debug_recording_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698