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/platform_file.h" | 10 #include "base/platform_file.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 const blink::WebString& vfs_file_name); | 52 const blink::WebString& vfs_file_name); |
53 virtual long long databaseGetFileSize(const blink::WebString& vfs_file_name); | 53 virtual long long databaseGetFileSize(const blink::WebString& vfs_file_name); |
54 virtual long long databaseGetSpaceAvailableForOrigin( | 54 virtual long long databaseGetSpaceAvailableForOrigin( |
55 const blink::WebString& origin_identifier); | 55 const blink::WebString& origin_identifier); |
56 virtual blink::WebString signedPublicKeyAndChallengeString( | 56 virtual blink::WebString signedPublicKeyAndChallengeString( |
57 unsigned key_size_index, const blink::WebString& challenge, | 57 unsigned key_size_index, const blink::WebString& challenge, |
58 const blink::WebURL& url); | 58 const blink::WebURL& url); |
59 virtual size_t memoryUsageMB(); | 59 virtual size_t memoryUsageMB(); |
60 virtual size_t actualMemoryUsageMB(); | 60 virtual size_t actualMemoryUsageMB(); |
61 virtual size_t physicalMemoryMB(); | 61 virtual size_t physicalMemoryMB(); |
| 62 virtual size_t virtualMemoryLimitMB(); |
62 virtual size_t numberOfProcessors(); | 63 virtual size_t numberOfProcessors(); |
63 | 64 |
64 virtual void startHeapProfiling(const blink::WebString& prefix); | 65 virtual void startHeapProfiling(const blink::WebString& prefix); |
65 virtual void stopHeapProfiling() OVERRIDE; | 66 virtual void stopHeapProfiling() OVERRIDE; |
66 virtual void dumpHeapProfiling(const blink::WebString& reason); | 67 virtual void dumpHeapProfiling(const blink::WebString& reason); |
67 virtual blink::WebString getHeapProfile() OVERRIDE; | 68 virtual blink::WebString getHeapProfile() OVERRIDE; |
68 | 69 |
69 virtual bool processMemorySizesInBytes(size_t* private_bytes, | 70 virtual bool processMemorySizesInBytes(size_t* private_bytes, |
70 size_t* shared_bytes); | 71 size_t* shared_bytes); |
71 virtual bool memoryAllocatorWasteInBytes(size_t* size); | 72 virtual bool memoryAllocatorWasteInBytes(size_t* size); |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 bool shared_timer_fire_time_was_set_while_suspended_; | 163 bool shared_timer_fire_time_was_set_while_suspended_; |
163 int shared_timer_suspended_; // counter | 164 int shared_timer_suspended_; // counter |
164 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; | 165 scoped_ptr<FlingCurveConfiguration> fling_curve_configuration_; |
165 base::ThreadLocalStorage::Slot current_thread_slot_; | 166 base::ThreadLocalStorage::Slot current_thread_slot_; |
166 scoped_ptr<WebCryptoImpl> web_crypto_; | 167 scoped_ptr<WebCryptoImpl> web_crypto_; |
167 }; | 168 }; |
168 | 169 |
169 } // namespace content | 170 } // namespace content |
170 | 171 |
171 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 172 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |