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

Side by Side Diff: ipc/mojo/ipc_message_pipe_reader.cc

Issue 1971813002: Fix include path for moved thread_task_runner_handle.h header in ipc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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
« no previous file with comments | « ipc/mojo/ipc_channel_mojo_unittest.cc ('k') | ipc/mojo/ipc_mojo_bootstrap_unittest.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ipc/mojo/ipc_message_pipe_reader.h" 5 #include "ipc/mojo/ipc_message_pipe_reader.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/bind_helpers.h" 12 #include "base/bind_helpers.h"
13 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
17 #include "base/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "ipc/mojo/ipc_channel_mojo.h" 18 #include "ipc/mojo/ipc_channel_mojo.h"
19 #include "mojo/public/cpp/bindings/message.h" 19 #include "mojo/public/cpp/bindings/message.h"
20 20
21 namespace IPC { 21 namespace IPC {
22 namespace internal { 22 namespace internal {
23 23
24 namespace { 24 namespace {
25 25
26 // Used by Send() to capture a serialized Channel::Receive message. 26 // Used by Send() to capture a serialized Channel::Receive message.
27 class MessageSerializer : public mojo::MessageReceiverWithResponder { 27 class MessageSerializer : public mojo::MessageReceiverWithResponder {
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 147
148 void MessagePipeReader::DelayedDeleter::operator()( 148 void MessagePipeReader::DelayedDeleter::operator()(
149 MessagePipeReader* ptr) const { 149 MessagePipeReader* ptr) const {
150 ptr->Close(); 150 ptr->Close();
151 base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE, 151 base::ThreadTaskRunnerHandle::Get()->PostTask(FROM_HERE,
152 base::Bind(&DeleteNow, ptr)); 152 base::Bind(&DeleteNow, ptr));
153 } 153 }
154 154
155 } // namespace internal 155 } // namespace internal
156 } // namespace IPC 156 } // namespace IPC
OLDNEW
« no previous file with comments | « ipc/mojo/ipc_channel_mojo_unittest.cc ('k') | ipc/mojo/ipc_mojo_bootstrap_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698