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

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

Issue 7879006: Delete Tracked, and move Location to its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 3 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 | « net/url_request/url_request_context_getter.cc ('k') | remoting/host/json_host_config.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/message_loop_proxy.h" 9 #include "base/message_loop_proxy.h"
9 #include "remoting/client/plugin/chromoting_scriptable_object.h" 10 #include "remoting/client/plugin/chromoting_scriptable_object.h"
10 11
11 namespace remoting { 12 namespace remoting {
12 13
13 PepperXmppProxy::PepperXmppProxy( 14 PepperXmppProxy::PepperXmppProxy(
14 base::WeakPtr<ChromotingScriptableObject> scriptable_object, 15 base::WeakPtr<ChromotingScriptableObject> scriptable_object,
15 base::MessageLoopProxy* plugin_message_loop, 16 base::MessageLoopProxy* plugin_message_loop,
16 base::MessageLoopProxy* callback_message_loop) 17 base::MessageLoopProxy* callback_message_loop)
17 : scriptable_object_(scriptable_object), 18 : scriptable_object_(scriptable_object),
(...skipping 30 matching lines...) Expand all
48 callback_message_loop_->PostTask( 49 callback_message_loop_->PostTask(
49 FROM_HERE, base::Bind(&PepperXmppProxy::OnIq, this, response_xml)); 50 FROM_HERE, base::Bind(&PepperXmppProxy::OnIq, this, response_xml));
50 return; 51 return;
51 } 52 }
52 53
53 if (callback_) 54 if (callback_)
54 callback_->OnIq(response_xml); 55 callback_->OnIq(response_xml);
55 } 56 }
56 57
57 } // namespace remoting 58 } // namespace remoting
OLDNEW
« no previous file with comments | « net/url_request/url_request_context_getter.cc ('k') | remoting/host/json_host_config.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698