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 WebFrameScheduler_h | 5 #ifndef WebFrameScheduler_h |
6 #define WebFrameScheduler_h | 6 #define WebFrameScheduler_h |
7 | 7 |
8 #include "wtf/RefPtr.h" | 8 #include "platform/wtf/RefPtr.h" |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class WebTaskRunner; | 14 class WebTaskRunner; |
15 class WebViewScheduler; | 15 class WebViewScheduler; |
16 | 16 |
17 class WebFrameScheduler { | 17 class WebFrameScheduler { |
18 public: | 18 public: |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 // connection (websocket, webrtc, etc). When connection is closed this handle | 90 // connection (websocket, webrtc, etc). When connection is closed this handle |
91 // must be destroyed. | 91 // must be destroyed. |
92 virtual std::unique_ptr<ActiveConnectionHandle> OnActiveConnectionCreated() { | 92 virtual std::unique_ptr<ActiveConnectionHandle> OnActiveConnectionCreated() { |
93 return nullptr; | 93 return nullptr; |
94 }; | 94 }; |
95 }; | 95 }; |
96 | 96 |
97 } // namespace blink | 97 } // namespace blink |
98 | 98 |
99 #endif // WebFrameScheduler_h | 99 #endif // WebFrameScheduler_h |
OLD | NEW |