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

Unified Diff: content/common/gpu/gpu_channel_manager.h

Issue 6901146: Switch IPC::ChannelProxy to use MessageLoopProxy instead of MessageLoop. This allows us to remov... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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 | « content/common/gpu/gpu_channel.cc ('k') | content/common/gpu/gpu_channel_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel_manager.h
===================================================================
--- content/common/gpu/gpu_channel_manager.h (revision 83679)
+++ content/common/gpu/gpu_channel_manager.h (working copy)
@@ -13,6 +13,7 @@
#include "base/command_line.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
+#include "base/message_loop_proxy.h"
#include "base/time.h"
#include "build/build_config.h"
#include "content/common/child_thread.h"
@@ -44,7 +45,7 @@
public:
GpuChannelManager(IPC::Message::Sender* browser_channel,
GpuWatchdog* watchdog,
- MessageLoop* io_message_loop,
+ base::MessageLoopProxy* io_message_loop,
base::WaitableEvent* shutdown_event);
~GpuChannelManager();
@@ -82,7 +83,7 @@
void OnLoseAllContexts();
- MessageLoop* io_message_loop_;
+ scoped_refptr<base::MessageLoopProxy> io_message_loop_;
base::WaitableEvent* shutdown_event_;
// Either an IPC channel to the browser or, if the GpuChannelManager is
« no previous file with comments | « content/common/gpu/gpu_channel.cc ('k') | content/common/gpu/gpu_channel_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698