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

Unified Diff: storage/browser/database/vfs_backend.h

Issue 1006423008: Add SetFileSize() IPC for WebSQL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary IPC_MESSAGE_HANDLER_DELAY_REPLYs, remove unnecessary scoped_refptrs. Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.cc ('k') | storage/browser/database/vfs_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/database/vfs_backend.h
diff --git a/storage/browser/database/vfs_backend.h b/storage/browser/database/vfs_backend.h
index 0ee1dd31b34c4f39e3c22728ab71faeec47da9e4..2b625d13de32e4ec2282c9b0ef617cb879d5620f 100644
--- a/storage/browser/database/vfs_backend.h
+++ b/storage/browser/database/vfs_backend.h
@@ -30,6 +30,8 @@ class STORAGE_EXPORT VfsBackend {
static int64 GetFileSize(const base::FilePath& file_path);
+ static bool SetFileSize(const base::FilePath& file_path, int64 size);
+
// Used to make decisions in the DatabaseDispatcherHost.
static bool OpenTypeIsReadWrite(int desired_flags);
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.cc ('k') | storage/browser/database/vfs_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698