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

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

Issue 1969053002: Fix include path for moved thread_task_runner_handle.h header in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 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
« no previous file with comments | « remoting/signaling/fake_signal_strategy.cc ('k') | remoting/signaling/xmpp_signal_strategy.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/iq_sender.h" 5 #include "remoting/signaling/iq_sender.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/callback_helpers.h" 11 #include "base/callback_helpers.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
15 #include "base/strings/string_number_conversions.h" 15 #include "base/strings/string_number_conversions.h"
16 #include "base/thread_task_runner_handle.h" 16 #include "base/threading/thread_task_runner_handle.h"
17 #include "base/time/time.h" 17 #include "base/time/time.h"
18 #include "remoting/signaling/jid_util.h" 18 #include "remoting/signaling/jid_util.h"
19 #include "remoting/signaling/signal_strategy.h" 19 #include "remoting/signaling/signal_strategy.h"
20 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" 20 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h"
21 #include "third_party/webrtc/libjingle/xmpp/constants.h" 21 #include "third_party/webrtc/libjingle/xmpp/constants.h"
22 22
23 namespace remoting { 23 namespace remoting {
24 24
25 // static 25 // static
26 std::unique_ptr<buzz::XmlElement> IqSender::MakeIqStanza( 26 std::unique_ptr<buzz::XmlElement> IqSender::MakeIqStanza(
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 base::ThreadTaskRunnerHandle::Get()->PostTask( 159 base::ThreadTaskRunnerHandle::Get()->PostTask(
160 FROM_HERE, base::Bind(&IqRequest::DeliverResponse, AsWeakPtr(), 160 FROM_HERE, base::Bind(&IqRequest::DeliverResponse, AsWeakPtr(),
161 base::Passed(&stanza_copy))); 161 base::Passed(&stanza_copy)));
162 } 162 }
163 163
164 void IqRequest::DeliverResponse(std::unique_ptr<buzz::XmlElement> stanza) { 164 void IqRequest::DeliverResponse(std::unique_ptr<buzz::XmlElement> stanza) {
165 CallCallback(stanza.get()); 165 CallCallback(stanza.get());
166 } 166 }
167 167
168 } // namespace remoting 168 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/signaling/fake_signal_strategy.cc ('k') | remoting/signaling/xmpp_signal_strategy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698