Home | History | Annotate | Download | only in child
      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.
      4 
      5 #ifndef CONTENT_CHILD_CONTENT_CHILD_HELPERS_H_
      6 #define CONTENT_CHILD_CONTENT_CHILD_HELPERS_H_
      7 
      8 #include "base/basictypes.h"
      9 
     10 namespace content {
     11 
     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();
     17 
     18 }  // content
     19 
     20 #endif  // CONTENT_CHILD_CONTENT_CHILD_HELPERS_H_
     21