OLD | NEW |
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 "third_party/mojo/src/mojo/public/cpp/bindings/lib/router.h" | 5 #include "mojo/public/cpp/bindings/lib/router.h" |
6 | 6 |
7 #include "third_party/mojo/src/mojo/public/cpp/environment/logging.h" | 7 #include "mojo/public/cpp/environment/logging.h" |
8 | 8 |
9 namespace mojo { | 9 namespace mojo { |
10 namespace internal { | 10 namespace internal { |
11 | 11 |
12 // ---------------------------------------------------------------------------- | 12 // ---------------------------------------------------------------------------- |
13 | 13 |
14 class ResponderThunk : public MessageReceiverWithStatus { | 14 class ResponderThunk : public MessageReceiverWithStatus { |
15 public: | 15 public: |
16 explicit ResponderThunk(const SharedData<Router*>& router) | 16 explicit ResponderThunk(const SharedData<Router*>& router) |
17 : router_(router), accept_was_invoked_(false) {} | 17 : router_(router), accept_was_invoked_(false) {} |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 return false; | 149 return false; |
150 | 150 |
151 return incoming_receiver_->Accept(message); | 151 return incoming_receiver_->Accept(message); |
152 } | 152 } |
153 } | 153 } |
154 | 154 |
155 // ---------------------------------------------------------------------------- | 155 // ---------------------------------------------------------------------------- |
156 | 156 |
157 } // namespace internal | 157 } // namespace internal |
158 } // namespace mojo | 158 } // namespace mojo |
OLD | NEW |