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 #ifndef MOJO_EDK_JS_WAITING_CALLBACK_H_ | 5 #ifndef MOJO_EDK_JS_WAITING_CALLBACK_H_ |
6 #define MOJO_EDK_JS_WAITING_CALLBACK_H_ | 6 #define MOJO_EDK_JS_WAITING_CALLBACK_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
9 #include "gin/handle.h" | 10 #include "gin/handle.h" |
10 #include "gin/runner.h" | 11 #include "gin/runner.h" |
11 #include "gin/wrappable.h" | 12 #include "gin/wrappable.h" |
12 #include "mojo/edk/js/handle.h" | 13 #include "mojo/edk/js/handle.h" |
13 #include "mojo/edk/js/handle_close_observer.h" | 14 #include "mojo/edk/js/handle_close_observer.h" |
14 #include "mojo/public/c/environment/async_waiter.h" | 15 #include "mojo/public/c/environment/async_waiter.h" |
15 #include "mojo/public/cpp/system/core.h" | 16 #include "mojo/public/cpp/system/core.h" |
16 | 17 |
17 namespace mojo { | 18 namespace mojo { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 HandleWrapper* handle_wrapper_; | 60 HandleWrapper* handle_wrapper_; |
60 base::WeakPtrFactory<WaitingCallback> weak_factory_; | 61 base::WeakPtrFactory<WaitingCallback> weak_factory_; |
61 | 62 |
62 DISALLOW_COPY_AND_ASSIGN(WaitingCallback); | 63 DISALLOW_COPY_AND_ASSIGN(WaitingCallback); |
63 }; | 64 }; |
64 | 65 |
65 } // namespace edk | 66 } // namespace edk |
66 } // namespace mojo | 67 } // namespace mojo |
67 | 68 |
68 #endif // MOJO_EDK_JS_WAITING_CALLBACK_H_ | 69 #endif // MOJO_EDK_JS_WAITING_CALLBACK_H_ |
OLD | NEW |