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

Unified Diff: webkit/database/vfs_backend.h

Issue 2746003: Support WebSQLDatabases in incognito mode. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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 | « webkit/database/database_tracker_unittest.cc ('k') | webkit/database/vfs_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/database/vfs_backend.h
===================================================================
--- webkit/database/vfs_backend.h (revision 49482)
+++ webkit/database/vfs_backend.h (working copy)
@@ -15,15 +15,18 @@
class VfsBackend {
public:
+ static void GetFileHandleForProcess(base::ProcessHandle process_handle,
+ const base::PlatformFile& file_handle,
+ base::PlatformFile* target_handle,
+ bool close_source_handle);
+
static void OpenFile(const FilePath& file_path,
int desired_flags,
- base::ProcessHandle handle,
- base::PlatformFile* target_handle);
+ base::PlatformFile* file_handle);
static void OpenTempFileInDirectory(const FilePath& dir_path,
int desired_flags,
- base::ProcessHandle handle,
- base::PlatformFile* target_handle);
+ base::PlatformFile* file_handle);
static int DeleteFile(const FilePath& file_path, bool sync_dir);
@@ -33,6 +36,7 @@
// Used to make decisions in the DatabaseDispatcherHost.
static bool FileTypeIsMainDB(int desired_flags);
+ static bool FileTypeIsJournal(int desired_flags);
static bool OpenTypeIsReadWrite(int desired_flags);
private:
« no previous file with comments | « webkit/database/database_tracker_unittest.cc ('k') | webkit/database/vfs_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698