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

Side by Side Diff: remoting/client/plugin/pepper_xmpp_proxy.cc

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « ppapi/shared_impl/ppapi_globals.cc ('k') | remoting/host/chromoting_host.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 "remoting/client/plugin/pepper_xmpp_proxy.h" 5 #include "remoting/client/plugin/pepper_xmpp_proxy.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/message_loop_proxy.h" 9 #include "base/message_loop/message_loop_proxy.h"
10 10
11 namespace remoting { 11 namespace remoting {
12 12
13 PepperXmppProxy::PepperXmppProxy( 13 PepperXmppProxy::PepperXmppProxy(
14 const SendIqCallback& send_iq_callback, 14 const SendIqCallback& send_iq_callback,
15 base::SingleThreadTaskRunner* plugin_task_runner, 15 base::SingleThreadTaskRunner* plugin_task_runner,
16 base::SingleThreadTaskRunner* callback_task_runner) 16 base::SingleThreadTaskRunner* callback_task_runner)
17 : send_iq_callback_(send_iq_callback), 17 : send_iq_callback_(send_iq_callback),
18 plugin_task_runner_(plugin_task_runner), 18 plugin_task_runner_(plugin_task_runner),
19 callback_task_runner_(callback_task_runner) { 19 callback_task_runner_(callback_task_runner) {
(...skipping 29 matching lines...) Expand all
49 callback_task_runner_->PostTask( 49 callback_task_runner_->PostTask(
50 FROM_HERE, base::Bind(&PepperXmppProxy::OnIq, this, response_xml)); 50 FROM_HERE, base::Bind(&PepperXmppProxy::OnIq, this, response_xml));
51 return; 51 return;
52 } 52 }
53 53
54 if (callback_.get()) 54 if (callback_.get())
55 callback_->OnIq(response_xml); 55 callback_->OnIq(response_xml);
56 } 56 }
57 57
58 } // namespace remoting 58 } // namespace remoting
OLDNEW
« no previous file with comments | « ppapi/shared_impl/ppapi_globals.cc ('k') | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698