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

Side by Side Diff: remoting/signaling/delegating_signal_strategy.cc

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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "remoting/signaling/delegating_signal_strategy.h" 5 #include "remoting/signaling/delegating_signal_strategy.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/rand_util.h" 8 #include "base/rand_util.h"
9 #include "base/single_thread_task_runner.h"
9 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
10 #include "base/threading/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
11 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h" 12 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
12 #include "third_party/libjingle_xmpp/xmpp/constants.h" 13 #include "third_party/libjingle_xmpp/xmpp/constants.h"
13 14
14 namespace remoting { 15 namespace remoting {
15 16
16 DelegatingSignalStrategy::DelegatingSignalStrategy( 17 DelegatingSignalStrategy::DelegatingSignalStrategy(
17 const SignalingAddress& local_address, 18 const SignalingAddress& local_address,
18 scoped_refptr<base::SingleThreadTaskRunner> client_task_runner, 19 scoped_refptr<base::SingleThreadTaskRunner> client_task_runner,
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 delegate_task_runner_->PostTask(FROM_HERE, 106 delegate_task_runner_->PostTask(FROM_HERE,
106 base::Bind(send_iq_callback_, stanza->Str())); 107 base::Bind(send_iq_callback_, stanza->Str()));
107 return true; 108 return true;
108 } 109 }
109 110
110 std::string DelegatingSignalStrategy::GetNextId() { 111 std::string DelegatingSignalStrategy::GetNextId() {
111 return base::Uint64ToString(base::RandUint64()); 112 return base::Uint64ToString(base::RandUint64());
112 } 113 }
113 114
114 } // namespace remoting 115 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/protocol/webrtc_connection_to_host.h ('k') | services/device/time_zone_monitor/time_zone_monitor_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698