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

Side by Side Diff: webkit/fileapi/transient_file_util.h

Issue 14493007: Add Transient FileSystem which goes away after its snapsot file is gone (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « webkit/fileapi/isolated_mount_point_provider.cc ('k') | webkit/fileapi/transient_file_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_FILEAPI_TRANSIENT_FILE_UTIL_H_
6 #define WEBKIT_FILEAPI_TRANSIENT_FILE_UTIL_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "webkit/fileapi/isolated_file_util.h"
10 #include "webkit/storage/webkit_storage_export.h"
11
12 namespace fileapi {
13
14 class FileSystemOperationContext;
15
16 class WEBKIT_STORAGE_EXPORT_PRIVATE TransientFileUtil
17 : public IsolatedFileUtil {
18 public:
19 TransientFileUtil() {}
20 virtual ~TransientFileUtil() {}
21
22 // IsolatedFileUtil overrides.
23 virtual webkit_blob::ScopedFile CreateSnapshotFile(
24 FileSystemOperationContext* context,
25 const FileSystemURL& url,
26 base::PlatformFileError* error,
27 base::PlatformFileInfo* file_info,
28 base::FilePath* platform_path) OVERRIDE;
29
30 private:
31 DISALLOW_COPY_AND_ASSIGN(TransientFileUtil);
32 };
33
34 } // namespace fileapi
35
36 #endif // WEBKIT_FILEAPI_TRANSIENT_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/isolated_mount_point_provider.cc ('k') | webkit/fileapi/transient_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698