OLD | NEW |
| (Empty) |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef WEBKIT_CHILD_WEBKIT_CHILD_HELPERS_H_ | |
6 #define WEBKIT_CHILD_WEBKIT_CHILD_HELPERS_H_ | |
7 | |
8 #include "base/basictypes.h" | |
9 #include "webkit/child/webkit_child_export.h" | |
10 | |
11 namespace webkit_glue { | |
12 | |
13 // Returns an estimate of the memory usage of the renderer process. Different | |
14 // platforms implement this function differently, and count in different | |
15 // allocations. Results are not comparable across platforms. The estimate is | |
16 // computed inside the sandbox and thus its not always accurate. | |
17 WEBKIT_CHILD_EXPORT size_t MemoryUsageKB(); | |
18 | |
19 } // webkit_glue | |
20 | |
21 #endif // WEBKIT_CHILD_WEBKIT_CHILD_HELPERS_H_ | |
OLD | NEW |