| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_IMPL_H_ | 5 #ifndef WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_IMPL_H_ |
| 6 #define WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_IMPL_H_ | 6 #define WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 virtual long databaseGetFileAttributes( | 42 virtual long databaseGetFileAttributes( |
| 43 const WebKit::WebString& vfs_file_name); | 43 const WebKit::WebString& vfs_file_name); |
| 44 virtual long long databaseGetFileSize(const WebKit::WebString& vfs_file_name); | 44 virtual long long databaseGetFileSize(const WebKit::WebString& vfs_file_name); |
| 45 virtual long long databaseGetSpaceAvailableForOrigin( | 45 virtual long long databaseGetSpaceAvailableForOrigin( |
| 46 const WebKit::WebString& origin_identifier); | 46 const WebKit::WebString& origin_identifier); |
| 47 virtual WebKit::WebString signedPublicKeyAndChallengeString( | 47 virtual WebKit::WebString signedPublicKeyAndChallengeString( |
| 48 unsigned key_size_index, const WebKit::WebString& challenge, | 48 unsigned key_size_index, const WebKit::WebString& challenge, |
| 49 const WebKit::WebURL& url); | 49 const WebKit::WebURL& url); |
| 50 virtual size_t memoryUsageMB(); | 50 virtual size_t memoryUsageMB(); |
| 51 virtual size_t actualMemoryUsageMB(); | 51 virtual size_t actualMemoryUsageMB(); |
| 52 virtual size_t physicalMemoryMB(); |
| 52 | 53 |
| 53 virtual void startHeapProfiling(const WebKit::WebString& prefix); | 54 virtual void startHeapProfiling(const WebKit::WebString& prefix); |
| 54 virtual void stopHeapProfiling() OVERRIDE; | 55 virtual void stopHeapProfiling() OVERRIDE; |
| 55 virtual void dumpHeapProfiling(const WebKit::WebString& reason); | 56 virtual void dumpHeapProfiling(const WebKit::WebString& reason); |
| 56 virtual WebKit::WebString getHeapProfile() OVERRIDE; | 57 virtual WebKit::WebString getHeapProfile() OVERRIDE; |
| 57 | 58 |
| 58 virtual bool processMemorySizesInBytes(size_t* private_bytes, | 59 virtual bool processMemorySizesInBytes(size_t* private_bytes, |
| 59 size_t* shared_bytes); | 60 size_t* shared_bytes); |
| 60 virtual bool memoryAllocatorWasteInBytes(size_t* size); | 61 virtual bool memoryAllocatorWasteInBytes(size_t* size); |
| 61 virtual size_t maxDecodedImageBytes() OVERRIDE; | 62 virtual size_t maxDecodedImageBytes() OVERRIDE; |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 base::OneShotTimer<WebKitPlatformSupportImpl> shared_timer_; | 143 base::OneShotTimer<WebKitPlatformSupportImpl> shared_timer_; |
| 143 void (*shared_timer_func_)(); | 144 void (*shared_timer_func_)(); |
| 144 double shared_timer_fire_time_; | 145 double shared_timer_fire_time_; |
| 145 bool shared_timer_fire_time_was_set_while_suspended_; | 146 bool shared_timer_fire_time_was_set_while_suspended_; |
| 146 int shared_timer_suspended_; // counter | 147 int shared_timer_suspended_; // counter |
| 147 }; | 148 }; |
| 148 | 149 |
| 149 } // namespace webkit_glue | 150 } // namespace webkit_glue |
| 150 | 151 |
| 151 #endif // WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_IMPL_H_ | 152 #endif // WEBKIT_CHILD_WEBKITPLATFORMSUPPORT_IMPL_H_ |
| OLD | NEW |