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

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

Issue 345040: Expose a method to access amount of memory used by the current process.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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 | « webkit/api/src/ChromiumBridge.cpp ('k') | webkit/glue/webkitclient_impl.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) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef WEBKIT_CLIENT_IMPL_H_ 5 #ifndef WEBKIT_CLIENT_IMPL_H_
6 #define WEBKIT_CLIENT_IMPL_H_ 6 #define WEBKIT_CLIENT_IMPL_H_
7 7
8 #include "base/platform_file.h" 8 #include "base/platform_file.h"
9 #include "base/timer.h" 9 #include "base/timer.h"
10 #include "webkit/api/public/WebKitClient.h" 10 #include "webkit/api/public/WebKitClient.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 virtual base::PlatformFile databaseOpenFile( 46 virtual base::PlatformFile databaseOpenFile(
47 const WebKit::WebString& file_name, int desired_flags, 47 const WebKit::WebString& file_name, int desired_flags,
48 base::PlatformFile* dir_handle); 48 base::PlatformFile* dir_handle);
49 virtual int databaseDeleteFile(const WebKit::WebString& file_name, 49 virtual int databaseDeleteFile(const WebKit::WebString& file_name,
50 bool sync_dir); 50 bool sync_dir);
51 virtual long databaseGetFileAttributes(const WebKit::WebString& file_name); 51 virtual long databaseGetFileAttributes(const WebKit::WebString& file_name);
52 virtual long long databaseGetFileSize(const WebKit::WebString& file_name); 52 virtual long long databaseGetFileSize(const WebKit::WebString& file_name);
53 virtual WebKit::WebString signedPublicKeyAndChallengeString( 53 virtual WebKit::WebString signedPublicKeyAndChallengeString(
54 unsigned key_size_index, const WebKit::WebString& challenge, 54 unsigned key_size_index, const WebKit::WebString& challenge,
55 const WebKit::WebURL& url); 55 const WebKit::WebURL& url);
56 virtual size_t memoryUsageMB();
56 virtual bool rawCookies(const WebKit::WebURL& url, 57 virtual bool rawCookies(const WebKit::WebURL& url,
57 const WebKit::WebURL& policy_url, 58 const WebKit::WebURL& policy_url,
58 WebKit::WebVector<WebKit::WebCookie>*); 59 WebKit::WebVector<WebKit::WebCookie>*);
59 virtual void deleteCookie(const WebKit::WebURL& url, 60 virtual void deleteCookie(const WebKit::WebURL& url,
60 const WebKit::WebString& cookie_name); 61 const WebKit::WebString& cookie_name);
61 virtual WebKit::WebURLLoader* createURLLoader(); 62 virtual WebKit::WebURLLoader* createURLLoader();
62 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); 63 virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle();
63 virtual WebKit::WebString userAgent(const WebKit::WebURL& url); 64 virtual WebKit::WebString userAgent(const WebKit::WebURL& url);
64 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*); 65 virtual void getPluginList(bool refresh, WebKit::WebPluginListBuilder*);
65 virtual void decrementStatsCounter(const char* name); 66 virtual void decrementStatsCounter(const char* name);
(...skipping 28 matching lines...) Expand all
94 void (*shared_timer_func_)(); 95 void (*shared_timer_func_)();
95 96
96 #if defined(OS_WIN) 97 #if defined(OS_WIN)
97 WebThemeEngineImpl theme_engine_; 98 WebThemeEngineImpl theme_engine_;
98 #endif 99 #endif
99 }; 100 };
100 101
101 } // namespace webkit_glue 102 } // namespace webkit_glue
102 103
103 #endif // WEBKIT_CLIENT_IMPL_H_ 104 #endif // WEBKIT_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/api/src/ChromiumBridge.cpp ('k') | webkit/glue/webkitclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698