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
3 // found in the LICENSE file.
5 #ifndef CONTENT_CHILD_CONTENT_CHILD_HELPERS_H_
6 #define CONTENT_CHILD_CONTENT_CHILD_HELPERS_H_
8 #include "base/basictypes.h"
12 // Returns an estimate of the memory usage of the renderer process. Different
13 // platforms implement this function differently, and count in different
14 // allocations. Results are not comparable across platforms. The estimate is
15 // computed inside the sandbox and thus its not always accurate.
16 size_t GetMemoryUsageKB();
20 #endif // CONTENT_CHILD_CONTENT_CHILD_HELPERS_H_