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

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

Issue 332010: Expose a method to access amount of memory used by the current process. (Closed) Base URL: http://src.chromium.org/svn/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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 const WebKit::WebString& file_name, int desired_flags, 53 const WebKit::WebString& file_name, int desired_flags,
54 base::PlatformFile* dir_handle); 54 base::PlatformFile* dir_handle);
55 virtual int databaseDeleteFile(const WebKit::WebString& file_name, 55 virtual int databaseDeleteFile(const WebKit::WebString& file_name,
56 bool sync_dir); 56 bool sync_dir);
57 virtual long databaseGetFileAttributes(const WebKit::WebString& file_name); 57 virtual long databaseGetFileAttributes(const WebKit::WebString& file_name);
58 virtual long long databaseGetFileSize(const WebKit::WebString& file_name); 58 virtual long long databaseGetFileSize(const WebKit::WebString& file_name);
59 59
60 virtual WebKit::WebString signedPublicKeyAndChallengeString( 60 virtual WebKit::WebString signedPublicKeyAndChallengeString(
61 unsigned key_size_index, const WebKit::WebString& challenge, 61 unsigned key_size_index, const WebKit::WebString& challenge,
62 const WebKit::WebURL& url); 62 const WebKit::WebURL& url);
63 virtual int memoryUsageMB();
63 64
64 virtual bool fileExists(const WebKit::WebString& path); 65 virtual bool fileExists(const WebKit::WebString& path);
65 virtual bool deleteFile(const WebKit::WebString& path); 66 virtual bool deleteFile(const WebKit::WebString& path);
66 virtual bool deleteEmptyDirectory(const WebKit::WebString& path); 67 virtual bool deleteEmptyDirectory(const WebKit::WebString& path);
67 virtual bool getFileSize(const WebKit::WebString& path, long long& result); 68 virtual bool getFileSize(const WebKit::WebString& path, long long& result);
68 virtual bool getFileModificationTime(const WebKit::WebString& path, 69 virtual bool getFileModificationTime(const WebKit::WebString& path,
69 time_t& result); 70 time_t& result);
70 virtual WebKit::WebString directoryName(const WebKit::WebString& path); 71 virtual WebKit::WebString directoryName(const WebKit::WebString& path);
71 virtual WebKit::WebString pathByAppendingComponent( 72 virtual WebKit::WebString pathByAppendingComponent(
72 const WebKit::WebString& path, const WebKit::WebString& component); 73 const WebKit::WebString& path, const WebKit::WebString& component);
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 void (*shared_timer_func_)(); 113 void (*shared_timer_func_)();
113 114
114 #if defined(OS_WIN) 115 #if defined(OS_WIN)
115 WebThemeEngineImpl theme_engine_; 116 WebThemeEngineImpl theme_engine_;
116 #endif 117 #endif
117 }; 118 };
118 119
119 } // namespace webkit_glue 120 } // namespace webkit_glue
120 121
121 #endif // WEBKIT_CLIENT_IMPL_H_ 122 #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