| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 size_t bytes); | 74 size_t bytes); |
| 75 virtual size_t maxDecodedImageBytes() OVERRIDE; | 75 virtual size_t maxDecodedImageBytes() OVERRIDE; |
| 76 virtual blink::WebURLLoader* createURLLoader(); | 76 virtual blink::WebURLLoader* createURLLoader(); |
| 77 virtual blink::WebSocketStreamHandle* createSocketStreamHandle(); | 77 virtual blink::WebSocketStreamHandle* createSocketStreamHandle(); |
| 78 virtual blink::WebSocketHandle* createWebSocketHandle() OVERRIDE; | 78 virtual blink::WebSocketHandle* createWebSocketHandle() OVERRIDE; |
| 79 virtual blink::WebString userAgent(); | 79 virtual blink::WebString userAgent(); |
| 80 virtual blink::WebData parseDataURL( | 80 virtual blink::WebData parseDataURL( |
| 81 const blink::WebURL& url, blink::WebString& mimetype, | 81 const blink::WebURL& url, blink::WebString& mimetype, |
| 82 blink::WebString& charset); | 82 blink::WebString& charset); |
| 83 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; | 83 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; |
| 84 virtual bool isReservedIPAddress( |
| 85 const blink::WebSecurityOrigin&) const OVERRIDE; |
| 86 virtual bool isReservedIPAddress(const blink::WebURL&) const OVERRIDE; |
| 84 virtual blink::WebThread* createThread(const char* name); | 87 virtual blink::WebThread* createThread(const char* name); |
| 85 virtual blink::WebThread* currentThread(); | 88 virtual blink::WebThread* currentThread(); |
| 86 virtual blink::WebWaitableEvent* createWaitableEvent(); | 89 virtual blink::WebWaitableEvent* createWaitableEvent(); |
| 87 virtual blink::WebWaitableEvent* waitMultipleEvents( | 90 virtual blink::WebWaitableEvent* waitMultipleEvents( |
| 88 const blink::WebVector<blink::WebWaitableEvent*>& events); | 91 const blink::WebVector<blink::WebWaitableEvent*>& events); |
| 89 virtual void decrementStatsCounter(const char* name); | 92 virtual void decrementStatsCounter(const char* name); |
| 90 virtual void incrementStatsCounter(const char* name); | 93 virtual void incrementStatsCounter(const char* name); |
| 91 virtual void histogramCustomCounts( | 94 virtual void histogramCustomCounts( |
| 92 const char* name, int sample, int min, int max, int bucket_count); | 95 const char* name, int sample, int min, int max, int bucket_count); |
| 93 virtual void histogramEnumeration( | 96 virtual void histogramEnumeration( |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 bool shared_timer_fire_time_was_set_while_suspended_; | 177 bool shared_timer_fire_time_was_set_while_suspended_; |
| 175 int shared_timer_suspended_; // counter | 178 int shared_timer_suspended_; // counter |
| 176 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; | 179 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; |
| 177 base::ThreadLocalStorage::Slot current_thread_slot_; | 180 base::ThreadLocalStorage::Slot current_thread_slot_; |
| 178 WebCryptoImpl web_crypto_; | 181 WebCryptoImpl web_crypto_; |
| 179 }; | 182 }; |
| 180 | 183 |
| 181 } // namespace content | 184 } // namespace content |
| 182 | 185 |
| 183 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 186 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |