OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "mojo/edk/system/request_context.h" | 5 #include "mojo/edk/system/request_context.h" |
6 | 6 |
7 #include "base/lazy_instance.h" | 7 #include "base/lazy_instance.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/threading/thread_local.h" | 9 #include "base/threading/thread_local.h" |
10 | 10 |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 return tls_context_->Get() == this; | 83 return tls_context_->Get() == this; |
84 } | 84 } |
85 | 85 |
86 RequestContext::WatchNotifyFinalizer::WatchNotifyFinalizer( | 86 RequestContext::WatchNotifyFinalizer::WatchNotifyFinalizer( |
87 scoped_refptr<Watcher> watcher, | 87 scoped_refptr<Watcher> watcher, |
88 MojoResult result, | 88 MojoResult result, |
89 const HandleSignalsState& state) | 89 const HandleSignalsState& state) |
90 : watcher(watcher), result(result), state(state) { | 90 : watcher(watcher), result(result), state(state) { |
91 } | 91 } |
92 | 92 |
| 93 RequestContext::WatchNotifyFinalizer::WatchNotifyFinalizer( |
| 94 const WatchNotifyFinalizer& other) = default; |
| 95 |
93 RequestContext::WatchNotifyFinalizer::~WatchNotifyFinalizer() {} | 96 RequestContext::WatchNotifyFinalizer::~WatchNotifyFinalizer() {} |
94 | 97 |
95 } // namespace edk | 98 } // namespace edk |
96 } // namespace mojo | 99 } // namespace mojo |
OLD | NEW |