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 CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/debug/trace_event.h" | 9 #include "base/debug/trace_event.h" |
10 #include "base/threading/thread_local_storage.h" | 10 #include "base/threading/thread_local_storage.h" |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 virtual void didStartWorkerRunLoop( | 150 virtual void didStartWorkerRunLoop( |
151 const blink::WebWorkerRunLoop& runLoop); | 151 const blink::WebWorkerRunLoop& runLoop); |
152 virtual void didStopWorkerRunLoop( | 152 virtual void didStopWorkerRunLoop( |
153 const blink::WebWorkerRunLoop& runLoop); | 153 const blink::WebWorkerRunLoop& runLoop); |
154 virtual blink::WebCrypto* crypto(); | 154 virtual blink::WebCrypto* crypto(); |
155 virtual blink::WebGeofencingProvider* geofencingProvider(); | 155 virtual blink::WebGeofencingProvider* geofencingProvider(); |
156 virtual blink::WebBluetooth* bluetooth(); | 156 virtual blink::WebBluetooth* bluetooth(); |
157 virtual blink::WebNotificationManager* notificationManager(); | 157 virtual blink::WebNotificationManager* notificationManager(); |
158 virtual blink::WebPushProvider* pushProvider(); | 158 virtual blink::WebPushProvider* pushProvider(); |
159 virtual blink::WebNavigatorConnectProvider* navigatorConnectProvider(); | 159 virtual blink::WebNavigatorConnectProvider* navigatorConnectProvider(); |
| 160 virtual bool createDataPipe(const blink::WebCreateDataPipeOptions*, |
| 161 blink::WebDataProducerHandle**, |
| 162 blink::WebDataConsumerHandle**); |
160 | 163 |
161 void SuspendSharedTimer(); | 164 void SuspendSharedTimer(); |
162 void ResumeSharedTimer(); | 165 void ResumeSharedTimer(); |
163 virtual void OnStartSharedTimer(base::TimeDelta delay) {} | 166 virtual void OnStartSharedTimer(base::TimeDelta delay) {} |
164 | 167 |
165 WebBluetoothImpl* BluetoothImplForTesting() { return bluetooth_.get(); } | 168 WebBluetoothImpl* BluetoothImplForTesting() { return bluetooth_.get(); } |
166 | 169 |
167 private: | 170 private: |
168 static void DestroyCurrentThread(void*); | 171 static void DestroyCurrentThread(void*); |
169 | 172 |
(...skipping 20 matching lines...) Expand all Loading... |
190 scoped_ptr<WebBluetoothImpl> bluetooth_; | 193 scoped_ptr<WebBluetoothImpl> bluetooth_; |
191 | 194 |
192 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 195 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
193 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 196 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
194 scoped_refptr<PushDispatcher> push_dispatcher_; | 197 scoped_refptr<PushDispatcher> push_dispatcher_; |
195 }; | 198 }; |
196 | 199 |
197 } // namespace content | 200 } // namespace content |
198 | 201 |
199 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 202 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |