| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 virtual void dumpHeapProfiling(const blink::WebString& reason); | 68 virtual void dumpHeapProfiling(const blink::WebString& reason); |
| 69 virtual blink::WebString getHeapProfile() override; | 69 virtual blink::WebString getHeapProfile() override; |
| 70 | 70 |
| 71 virtual bool processMemorySizesInBytes(size_t* private_bytes, | 71 virtual bool processMemorySizesInBytes(size_t* private_bytes, |
| 72 size_t* shared_bytes); | 72 size_t* shared_bytes); |
| 73 virtual bool memoryAllocatorWasteInBytes(size_t* size); | 73 virtual bool memoryAllocatorWasteInBytes(size_t* size); |
| 74 virtual blink::WebDiscardableMemory* allocateAndLockDiscardableMemory( | 74 virtual blink::WebDiscardableMemory* allocateAndLockDiscardableMemory( |
| 75 size_t bytes); | 75 size_t bytes); |
| 76 virtual size_t maxDecodedImageBytes() override; | 76 virtual size_t maxDecodedImageBytes() override; |
| 77 virtual blink::WebURLLoader* createURLLoader(); | 77 virtual blink::WebURLLoader* createURLLoader(); |
| 78 virtual blink::WebSocketStreamHandle* createSocketStreamHandle(); | |
| 79 virtual blink::WebSocketHandle* createWebSocketHandle() override; | 78 virtual blink::WebSocketHandle* createWebSocketHandle() override; |
| 80 virtual blink::WebString userAgent(); | 79 virtual blink::WebString userAgent(); |
| 81 virtual blink::WebData parseDataURL( | 80 virtual blink::WebData parseDataURL( |
| 82 const blink::WebURL& url, blink::WebString& mimetype, | 81 const blink::WebURL& url, blink::WebString& mimetype, |
| 83 blink::WebString& charset); | 82 blink::WebString& charset); |
| 84 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; | 83 virtual blink::WebURLError cancelledError(const blink::WebURL& url) const; |
| 85 virtual bool isReservedIPAddress( | 84 virtual bool isReservedIPAddress( |
| 86 const blink::WebSecurityOrigin&) const override; | 85 const blink::WebSecurityOrigin&) const override; |
| 87 virtual bool isReservedIPAddress(const blink::WebURL&) const override; | 86 virtual bool isReservedIPAddress(const blink::WebURL&) const override; |
| 88 virtual blink::WebThread* createThread(const char* name); | 87 virtual blink::WebThread* createThread(const char* name); |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 bool shared_timer_fire_time_was_set_while_suspended_; | 176 bool shared_timer_fire_time_was_set_while_suspended_; |
| 178 int shared_timer_suspended_; // counter | 177 int shared_timer_suspended_; // counter |
| 179 base::ThreadLocalStorage::Slot current_thread_slot_; | 178 base::ThreadLocalStorage::Slot current_thread_slot_; |
| 180 WebCryptoImpl web_crypto_; | 179 WebCryptoImpl web_crypto_; |
| 181 scoped_ptr<WebGeofencingProviderImpl> geofencing_provider_; | 180 scoped_ptr<WebGeofencingProviderImpl> geofencing_provider_; |
| 182 }; | 181 }; |
| 183 | 182 |
| 184 } // namespace content | 183 } // namespace content |
| 185 | 184 |
| 186 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 185 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |