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

Unified Diff: remoting/client/plugin/pepper_xmpp_proxy.h

Issue 7633009: Use MessageLoopProxy for network message loop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/client_context.cc ('k') | remoting/client/plugin/pepper_xmpp_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/pepper_xmpp_proxy.h
diff --git a/remoting/client/plugin/pepper_xmpp_proxy.h b/remoting/client/plugin/pepper_xmpp_proxy.h
index fc5ee4287a6d097280dc607e6237fc36cda2fa77..aca7f94aac48c0e43759ce9b097756f15c12e807 100644
--- a/remoting/client/plugin/pepper_xmpp_proxy.h
+++ b/remoting/client/plugin/pepper_xmpp_proxy.h
@@ -5,9 +5,14 @@
#ifndef REMOTING_CLIENT_PLUGIN_PEPPER_XMPP_PROXY_H_
#define REMOTING_CLIENT_PLUGIN_PEPPER_XMPP_PROXY_H_
+#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "remoting/jingle_glue/xmpp_proxy.h"
+namespace base {
+class MessageLoopProxy;
+} // namespace base
+
namespace remoting {
class ChromotingScriptableObject;
@@ -16,7 +21,7 @@ class PepperXmppProxy : public XmppProxy {
public:
PepperXmppProxy(
base::WeakPtr<ChromotingScriptableObject> scriptable_object,
- MessageLoop* callback_message_loop);
+ base::MessageLoopProxy* callback_message_loop);
// Registered the callback class with this object.
//
@@ -38,7 +43,7 @@ class PepperXmppProxy : public XmppProxy {
base::WeakPtr<ChromotingScriptableObject> scriptable_object_;
- MessageLoop* callback_message_loop_;
+ scoped_refptr<base::MessageLoopProxy> callback_message_loop_;
// Must only be access on callback_message_loop_.
base::WeakPtr<ResponseCallback> callback_;
« no previous file with comments | « remoting/client/client_context.cc ('k') | remoting/client/plugin/pepper_xmpp_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698