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/containers/scoped_ptr_hash_map.h" | 9 #include "base/containers/scoped_ptr_hash_map.h" |
10 #include "base/threading/thread_local_storage.h" | 10 #include "base/threading/thread_local_storage.h" |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 virtual blink::WebString userAgent(); | 87 virtual blink::WebString userAgent(); |
88 virtual blink::WebData parseDataURL( | 88 virtual blink::WebData parseDataURL( |
89 const blink::WebURL& url, blink::WebString& mimetype, | 89 const blink::WebURL& url, blink::WebString& mimetype, |
90 blink::WebString& charset); | 90 blink::WebString& charset); |
91 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; | 91 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; |
92 virtual bool isReservedIPAddress(const blink::WebString& host) const; | 92 virtual bool isReservedIPAddress(const blink::WebString& host) const; |
93 virtual bool portAllowed(const blink::WebURL& url) const; | 93 virtual bool portAllowed(const blink::WebURL& url) const; |
94 virtual blink::WebThread* createThread(const char* name); | 94 virtual blink::WebThread* createThread(const char* name); |
95 virtual blink::WebThread* currentThread(); | 95 virtual blink::WebThread* currentThread(); |
96 virtual void yieldCurrentThread(); | 96 virtual void yieldCurrentThread(); |
97 // TODO(toyoshim): Remove no arguments version after the transition. | |
98 virtual blink::WebWaitableEvent* createWaitableEvent(); | |
99 virtual blink::WebWaitableEvent* createWaitableEvent( | 97 virtual blink::WebWaitableEvent* createWaitableEvent( |
100 blink::WebWaitableEvent::ResetPolicy policy, | 98 blink::WebWaitableEvent::ResetPolicy policy, |
101 blink::WebWaitableEvent::InitialState state); | 99 blink::WebWaitableEvent::InitialState state); |
102 virtual blink::WebWaitableEvent* waitMultipleEvents( | 100 virtual blink::WebWaitableEvent* waitMultipleEvents( |
103 const blink::WebVector<blink::WebWaitableEvent*>& events); | 101 const blink::WebVector<blink::WebWaitableEvent*>& events); |
104 virtual void decrementStatsCounter(const char* name); | 102 virtual void decrementStatsCounter(const char* name); |
105 virtual void incrementStatsCounter(const char* name); | 103 virtual void incrementStatsCounter(const char* name); |
106 virtual void histogramCustomCounts( | 104 virtual void histogramCustomCounts( |
107 const char* name, int sample, int min, int max, int bucket_count); | 105 const char* name, int sample, int min, int max, int bucket_count); |
108 virtual void histogramEnumeration( | 106 virtual void histogramEnumeration( |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 200 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
203 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 201 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
204 scoped_refptr<PushDispatcher> push_dispatcher_; | 202 scoped_refptr<PushDispatcher> push_dispatcher_; |
205 scoped_ptr<PermissionDispatcher> permission_client_; | 203 scoped_ptr<PermissionDispatcher> permission_client_; |
206 scoped_ptr<BackgroundSyncProvider> sync_provider_; | 204 scoped_ptr<BackgroundSyncProvider> sync_provider_; |
207 }; | 205 }; |
208 | 206 |
209 } // namespace content | 207 } // namespace content |
210 | 208 |
211 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 209 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |