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 isHostnameReservedIPAddress( |
| 85 const blink::WebString&) const OVERRIDE; |
84 virtual blink::WebThread* createThread(const char* name); | 86 virtual blink::WebThread* createThread(const char* name); |
85 virtual blink::WebThread* currentThread(); | 87 virtual blink::WebThread* currentThread(); |
86 virtual blink::WebWaitableEvent* createWaitableEvent(); | 88 virtual blink::WebWaitableEvent* createWaitableEvent(); |
87 virtual blink::WebWaitableEvent* waitMultipleEvents( | 89 virtual blink::WebWaitableEvent* waitMultipleEvents( |
88 const blink::WebVector<blink::WebWaitableEvent*>& events); | 90 const blink::WebVector<blink::WebWaitableEvent*>& events); |
89 virtual void decrementStatsCounter(const char* name); | 91 virtual void decrementStatsCounter(const char* name); |
90 virtual void incrementStatsCounter(const char* name); | 92 virtual void incrementStatsCounter(const char* name); |
91 virtual void histogramCustomCounts( | 93 virtual void histogramCustomCounts( |
92 const char* name, int sample, int min, int max, int bucket_count); | 94 const char* name, int sample, int min, int max, int bucket_count); |
93 virtual void histogramEnumeration( | 95 virtual void histogramEnumeration( |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 bool shared_timer_fire_time_was_set_while_suspended_; | 180 bool shared_timer_fire_time_was_set_while_suspended_; |
179 int shared_timer_suspended_; // counter | 181 int shared_timer_suspended_; // counter |
180 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; | 182 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; |
181 base::ThreadLocalStorage::Slot current_thread_slot_; | 183 base::ThreadLocalStorage::Slot current_thread_slot_; |
182 WebCryptoImpl web_crypto_; | 184 WebCryptoImpl web_crypto_; |
183 }; | 185 }; |
184 | 186 |
185 } // namespace content | 187 } // namespace content |
186 | 188 |
187 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 189 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |