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

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

Issue 11098067: fileapi: Add modification time check for FileSystemFileStreamReader (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix leak in test Created 8 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ 5 #ifndef WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_
6 #define WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ 6 #define WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "webkit/fileapi/file_system_mount_point_provider.h" 9 #include "webkit/fileapi/file_system_mount_point_provider.h"
10 #include "webkit/fileapi/media/mtp_device_file_system_config.h" 10 #include "webkit/fileapi/media/mtp_device_file_system_config.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE; 45 virtual FileSystemFileUtil* GetFileUtil(FileSystemType type) OVERRIDE;
46 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path) 46 virtual FilePath GetPathForPermissionsCheck(const FilePath& virtual_path)
47 const OVERRIDE; 47 const OVERRIDE;
48 virtual FileSystemOperation* CreateFileSystemOperation( 48 virtual FileSystemOperation* CreateFileSystemOperation(
49 const FileSystemURL& url, 49 const FileSystemURL& url,
50 FileSystemContext* context, 50 FileSystemContext* context,
51 base::PlatformFileError* error_code) const OVERRIDE; 51 base::PlatformFileError* error_code) const OVERRIDE;
52 virtual webkit_blob::FileStreamReader* CreateFileStreamReader( 52 virtual webkit_blob::FileStreamReader* CreateFileStreamReader(
53 const FileSystemURL& url, 53 const FileSystemURL& url,
54 int64 offset, 54 int64 offset,
55 const base::Time& expected_modification_time,
55 FileSystemContext* context) const OVERRIDE; 56 FileSystemContext* context) const OVERRIDE;
56 virtual FileStreamWriter* CreateFileStreamWriter( 57 virtual FileStreamWriter* CreateFileStreamWriter(
57 const FileSystemURL& url, 58 const FileSystemURL& url,
58 int64 offset, 59 int64 offset,
59 FileSystemContext* context) const OVERRIDE; 60 FileSystemContext* context) const OVERRIDE;
60 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; 61 virtual FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE;
61 virtual void DeleteFileSystem( 62 virtual void DeleteFileSystem(
62 const GURL& origin_url, 63 const GURL& origin_url,
63 FileSystemType type, 64 FileSystemType type,
64 FileSystemContext* context, 65 FileSystemContext* context,
(...skipping 10 matching lines...) Expand all
75 scoped_ptr<NativeMediaFileUtil> native_media_file_util_; 76 scoped_ptr<NativeMediaFileUtil> native_media_file_util_;
76 77
77 #if defined(SUPPORT_MTP_DEVICE_FILESYSTEM) 78 #if defined(SUPPORT_MTP_DEVICE_FILESYSTEM)
78 scoped_ptr<DeviceMediaFileUtil> device_media_file_util_; 79 scoped_ptr<DeviceMediaFileUtil> device_media_file_util_;
79 #endif 80 #endif
80 }; 81 };
81 82
82 } // namespace fileapi 83 } // namespace fileapi
83 84
84 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_ 85 #endif // WEBKIT_FILEAPI_ISOLATED_MOUNT_POINT_PROVIDER_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_url_request_job.cc ('k') | webkit/fileapi/isolated_mount_point_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698