| OLD | NEW |
| 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 PresentationConnectionCallbacks_h | 5 #ifndef PresentationConnectionCallbacks_h |
| 6 #define PresentationConnectionCallbacks_h | 6 #define PresentationConnectionCallbacks_h |
| 7 | 7 |
| 8 #include "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
| 9 #include "platform/wtf/Noncopyable.h" |
| 9 #include "public/platform/WebCallbacks.h" | 10 #include "public/platform/WebCallbacks.h" |
| 10 #include "public/platform/modules/presentation/WebPresentationConnectionCallback
s.h" | 11 #include "public/platform/modules/presentation/WebPresentationConnectionCallback
s.h" |
| 11 #include "wtf/Noncopyable.h" | |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class PresentationConnection; | 15 class PresentationConnection; |
| 16 class PresentationRequest; | 16 class PresentationRequest; |
| 17 class ScriptPromiseResolver; | 17 class ScriptPromiseResolver; |
| 18 struct WebPresentationError; | 18 struct WebPresentationError; |
| 19 struct WebPresentationInfo; | 19 struct WebPresentationInfo; |
| 20 | 20 |
| 21 // PresentationConnectionCallbacks extends WebCallbacks to resolve the | 21 // PresentationConnectionCallbacks extends WebCallbacks to resolve the |
| (...skipping 17 matching lines...) Expand all Loading... |
| 39 Persistent<ScriptPromiseResolver> resolver_; | 39 Persistent<ScriptPromiseResolver> resolver_; |
| 40 Persistent<PresentationRequest> request_; | 40 Persistent<PresentationRequest> request_; |
| 41 WeakPersistent<PresentationConnection> connection_; | 41 WeakPersistent<PresentationConnection> connection_; |
| 42 | 42 |
| 43 WTF_MAKE_NONCOPYABLE(PresentationConnectionCallbacks); | 43 WTF_MAKE_NONCOPYABLE(PresentationConnectionCallbacks); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace blink | 46 } // namespace blink |
| 47 | 47 |
| 48 #endif // PresentationConnectionCallbacks_h | 48 #endif // PresentationConnectionCallbacks_h |
| OLD | NEW |