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

Side by Side Diff: mojo/public/cpp/bindings/lib/router.h

Issue 220243007: Mojo: Move mojo/public/bindings/lib to mojo/public/cpp/bindings/lib. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « mojo/public/cpp/bindings/lib/message_queue.cc ('k') | mojo/public/cpp/bindings/lib/router.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 #ifndef MOJO_PUBLIC_BINDINGS_LIB_ROUTER_H_ 5 #ifndef MOJO_PUBLIC_CPP_BINDINGS_LIB_ROUTER_H_
6 #define MOJO_PUBLIC_BINDINGS_LIB_ROUTER_H_ 6 #define MOJO_PUBLIC_CPP_BINDINGS_LIB_ROUTER_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "mojo/public/bindings/lib/connector.h" 10 #include "mojo/public/cpp/bindings/lib/connector.h"
11 #include "mojo/public/bindings/lib/shared_data.h" 11 #include "mojo/public/cpp/bindings/lib/shared_data.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 namespace internal { 14 namespace internal {
15 15
16 class Router : public MessageReceiver { 16 class Router : public MessageReceiver {
17 public: 17 public:
18 // The Router takes ownership of |message_pipe|. 18 // The Router takes ownership of |message_pipe|.
19 explicit Router(ScopedMessagePipeHandle message_pipe, 19 explicit Router(ScopedMessagePipeHandle message_pipe,
20 MojoAsyncWaiter* waiter = GetDefaultAsyncWaiter()); 20 MojoAsyncWaiter* waiter = GetDefaultAsyncWaiter());
21 virtual ~Router(); 21 virtual ~Router();
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 SharedData<Router*> weak_self_; 63 SharedData<Router*> weak_self_;
64 MessageReceiver* incoming_receiver_; 64 MessageReceiver* incoming_receiver_;
65 HandleIncomingMessageThunk thunk_; 65 HandleIncomingMessageThunk thunk_;
66 ResponderMap responders_; 66 ResponderMap responders_;
67 uint64_t next_request_id_; 67 uint64_t next_request_id_;
68 }; 68 };
69 69
70 } // namespace internal 70 } // namespace internal
71 } // namespace mojo 71 } // namespace mojo
72 72
73 #endif // MOJO_PUBLIC_BINDINGS_LIB_ROUTER_H_ 73 #endif // MOJO_PUBLIC_CPP_BINDINGS_LIB_ROUTER_H_
OLDNEW
« no previous file with comments | « mojo/public/cpp/bindings/lib/message_queue.cc ('k') | mojo/public/cpp/bindings/lib/router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698