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

Side by Side Diff: mojo/public/cpp/bindings/associated_interface_ptr.h

Issue 1972703002: Fix include path for moved thread_task_runner_handle.h header in mojo/ (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 | « mojo/public/cpp/bindings/associated_binding.h ('k') | mojo/public/cpp/bindings/binding.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_INTERFACE_PTR_H_ 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_INTERFACE_PTR_H_
6 #define MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_INTERFACE_PTR_H_ 6 #define MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_INTERFACE_PTR_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
15 #include "base/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
16 #include "mojo/public/cpp/bindings/associated_group.h" 16 #include "mojo/public/cpp/bindings/associated_group.h"
17 #include "mojo/public/cpp/bindings/associated_interface_ptr_info.h" 17 #include "mojo/public/cpp/bindings/associated_interface_ptr_info.h"
18 #include "mojo/public/cpp/bindings/associated_interface_request.h" 18 #include "mojo/public/cpp/bindings/associated_interface_request.h"
19 #include "mojo/public/cpp/bindings/callback.h" 19 #include "mojo/public/cpp/bindings/callback.h"
20 #include "mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h" 20 #include "mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h"
21 21
22 namespace mojo { 22 namespace mojo {
23 23
24 // Represents the client side of an associated interface. It is similar to 24 // Represents the client side of an associated interface. It is similar to
25 // InterfacePtr, except that it doesn't own a message pipe handle. 25 // InterfacePtr, except that it doesn't own a message pipe handle.
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 group->CreateAssociatedInterface(AssociatedGroup::WILL_PASS_REQUEST, 199 group->CreateAssociatedInterface(AssociatedGroup::WILL_PASS_REQUEST,
200 &ptr_info, &request); 200 &ptr_info, &request);
201 201
202 ptr->Bind(std::move(ptr_info), std::move(runner)); 202 ptr->Bind(std::move(ptr_info), std::move(runner));
203 return request; 203 return request;
204 } 204 }
205 205
206 } // namespace mojo 206 } // namespace mojo
207 207
208 #endif // MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_INTERFACE_PTR_H_ 208 #endif // MOJO_PUBLIC_CPP_BINDINGS_ASSOCIATED_INTERFACE_PTR_H_
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/associated_binding.h ('k') | mojo/public/cpp/bindings/binding.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698