Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Side by Side Diff: webkit/glue/webkit_glue.h

Issue 11829032: Add a histogram for renderer memory usage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar build fixes Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/renderer/renderer_main.cc ('k') | webkit/glue/webkit_glue.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_GLUE_WEBKIT_GLUE_H_ 5 #ifndef WEBKIT_GLUE_WEBKIT_GLUE_H_
6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_ 6 #define WEBKIT_GLUE_WEBKIT_GLUE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 std::string GetInspectorProtocolVersion(); 107 std::string GetInspectorProtocolVersion();
108 108
109 // Tells caller whether the given protocol version is supported by the. 109 // Tells caller whether the given protocol version is supported by the.
110 WEBKIT_GLUE_EXPORT bool IsInspectorProtocolVersionSupported( 110 WEBKIT_GLUE_EXPORT bool IsInspectorProtocolVersionSupported(
111 const std::string& version); 111 const std::string& version);
112 112
113 // Configures the URLRequest according to the referrer policy. 113 // Configures the URLRequest according to the referrer policy.
114 WEBKIT_GLUE_EXPORT void ConfigureURLRequestForReferrerPolicy( 114 WEBKIT_GLUE_EXPORT void ConfigureURLRequestForReferrerPolicy(
115 net::URLRequest* request, WebKit::WebReferrerPolicy referrer_policy); 115 net::URLRequest* request, WebKit::WebReferrerPolicy referrer_policy);
116 116
117 // Returns an estimate of the memory usage of the renderer process. Different
118 // platforms implement this function differently, and count in different
119 // allocations. Results are not comparable across platforms. The estimate is
120 // computed inside the sandbox and thus its not always accurate.
121 WEBKIT_GLUE_EXPORT size_t MemoryUsageKB();
122
117 } // namespace webkit_glue 123 } // namespace webkit_glue
118 124
119 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_ 125 #endif // WEBKIT_GLUE_WEBKIT_GLUE_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_main.cc ('k') | webkit/glue/webkit_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698