Remove unnecessary casts for WebContentsImpl::GetRenderViewHost.
[chromium-blink-merge.git] / content / child / content_child_helpers.h
blob6608314d442ea776099e4925027a5ad314bd32d2
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"
10 namespace content {
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();
18 } // content
20 #endif // CONTENT_CHILD_CONTENT_CHILD_HELPERS_H_