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

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

Issue 18052008: Use a direct include of time headers in ppapi/, printing/, remoting/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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
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 "remoting/jingle_glue/iq_sender.h" 5 #include "remoting/jingle_glue/iq_sender.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
12 #include "base/strings/string_number_conversions.h" 12 #include "base/strings/string_number_conversions.h"
13 #include "base/thread_task_runner_handle.h" 13 #include "base/thread_task_runner_handle.h"
14 #include "base/time.h" 14 #include "base/time/time.h"
15 #include "remoting/jingle_glue/signal_strategy.h" 15 #include "remoting/jingle_glue/signal_strategy.h"
16 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" 16 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h"
17 #include "third_party/libjingle/source/talk/xmpp/constants.h" 17 #include "third_party/libjingle/source/talk/xmpp/constants.h"
18 18
19 namespace remoting { 19 namespace remoting {
20 20
21 // static 21 // static
22 scoped_ptr<buzz::XmlElement> IqSender::MakeIqStanza( 22 scoped_ptr<buzz::XmlElement> IqSender::MakeIqStanza(
23 const std::string& type, 23 const std::string& type,
24 const std::string& addressee, 24 const std::string& addressee,
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 base::ThreadTaskRunnerHandle::Get()->PostTask( 169 base::ThreadTaskRunnerHandle::Get()->PostTask(
170 FROM_HERE, base::Bind(&IqRequest::DeliverResponse, AsWeakPtr(), 170 FROM_HERE, base::Bind(&IqRequest::DeliverResponse, AsWeakPtr(),
171 base::Passed(&stanza_copy))); 171 base::Passed(&stanza_copy)));
172 } 172 }
173 173
174 void IqRequest::DeliverResponse(scoped_ptr<buzz::XmlElement> stanza) { 174 void IqRequest::DeliverResponse(scoped_ptr<buzz::XmlElement> stanza) {
175 CallCallback(stanza.get()); 175 CallCallback(stanza.get());
176 } 176 }
177 177
178 } // namespace remoting 178 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/win/worker_process_launcher.cc ('k') | remoting/jingle_glue/xmpp_signal_strategy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698