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

Unified Diff: ipc/ipc_sync_channel.h

Issue 512153002: Manual fixups for scoped_refptr operator T* removal in ipc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « ipc/ipc_channel_proxy.cc ('k') | ipc/ipc_sync_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_sync_channel.h
diff --git a/ipc/ipc_sync_channel.h b/ipc/ipc_sync_channel.h
index f8207ce1e3e4739296bbb4e144a38b018db62f25..5bbd46c5745351cdbf84adbc5cff28a53e6086af 100644
--- a/ipc/ipc_sync_channel.h
+++ b/ipc/ipc_sync_channel.h
@@ -72,14 +72,14 @@ class IPC_EXPORT SyncChannel : public ChannelProxy {
const IPC::ChannelHandle& channel_handle,
IPC::Channel::Mode mode,
Listener* listener,
- base::SingleThreadTaskRunner* ipc_task_runner,
+ const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner,
bool create_pipe_now,
base::WaitableEvent* shutdown_event);
static scoped_ptr<SyncChannel> Create(
scoped_ptr<ChannelFactory> factory,
Listener* listener,
- base::SingleThreadTaskRunner* ipc_task_runner,
+ const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner,
bool create_pipe_now,
base::WaitableEvent* shutdown_event);
@@ -88,7 +88,7 @@ class IPC_EXPORT SyncChannel : public ChannelProxy {
// added before any messages are sent or received.
static scoped_ptr<SyncChannel> Create(
Listener* listener,
- base::SingleThreadTaskRunner* ipc_task_runner,
+ const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner,
base::WaitableEvent* shutdown_event);
virtual ~SyncChannel();
@@ -121,9 +121,10 @@ class IPC_EXPORT SyncChannel : public ChannelProxy {
// ChannelProxy::Context for more information.
class SyncContext : public Context {
public:
- SyncContext(Listener* listener,
- base::SingleThreadTaskRunner* ipc_task_runner,
- base::WaitableEvent* shutdown_event);
+ SyncContext(
+ Listener* listener,
+ const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner,
+ base::WaitableEvent* shutdown_event);
// Adds information about an outgoing sync message to the context so that
// we know how to deserialize the reply.
@@ -199,9 +200,10 @@ class IPC_EXPORT SyncChannel : public ChannelProxy {
};
private:
- SyncChannel(Listener* listener,
- base::SingleThreadTaskRunner* ipc_task_runner,
- base::WaitableEvent* shutdown_event);
+ SyncChannel(
+ Listener* listener,
+ const scoped_refptr<base::SingleThreadTaskRunner>& ipc_task_runner,
+ base::WaitableEvent* shutdown_event);
void OnWaitableEventSignaled(base::WaitableEvent* arg);
« no previous file with comments | « ipc/ipc_channel_proxy.cc ('k') | ipc/ipc_sync_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698