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

Side by Side Diff: webkit/fileapi/media/device_media_file_util.h

Issue 10834167: Create ShareableFileReference on IO thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: adding unknown policy for DCHECK Created 8 years, 4 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/local_file_util.cc ('k') | webkit/fileapi/media/device_media_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
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_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ 5 #ifndef WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_
6 #define WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ 6 #define WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_
7 7
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/platform_file.h" 9 #include "base/platform_file.h"
10 #include "webkit/fileapi/fileapi_export.h" 10 #include "webkit/fileapi/fileapi_export.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 virtual base::PlatformFileError CopyInForeignFile( 80 virtual base::PlatformFileError CopyInForeignFile(
81 FileSystemOperationContext* context, 81 FileSystemOperationContext* context,
82 const FilePath& src_file_path, 82 const FilePath& src_file_path,
83 const FileSystemURL& dest_url) OVERRIDE; 83 const FileSystemURL& dest_url) OVERRIDE;
84 virtual base::PlatformFileError DeleteFile( 84 virtual base::PlatformFileError DeleteFile(
85 FileSystemOperationContext* context, 85 FileSystemOperationContext* context,
86 const FileSystemURL& url) OVERRIDE; 86 const FileSystemURL& url) OVERRIDE;
87 virtual base::PlatformFileError DeleteSingleDirectory( 87 virtual base::PlatformFileError DeleteSingleDirectory(
88 FileSystemOperationContext* context, 88 FileSystemOperationContext* context,
89 const FileSystemURL& url) OVERRIDE; 89 const FileSystemURL& url) OVERRIDE;
90 virtual scoped_refptr<webkit_blob::ShareableFileReference> 90 virtual base::PlatformFileError CreateSnapshotFile(
91 CreateSnapshotFile(FileSystemOperationContext* context, 91 FileSystemOperationContext* context,
92 const FileSystemURL& url, 92 const FileSystemURL& url,
93 base::PlatformFileError* result, 93 base::PlatformFileInfo* file_info,
94 base::PlatformFileInfo* file_info, 94 FilePath* platform_path,
95 FilePath* platform_path) OVERRIDE; 95 SnapshotFilePolicy* policy) OVERRIDE;
96 96
97 private: 97 private:
98 // Profile path 98 // Profile path
99 const FilePath profile_path_; 99 const FilePath profile_path_;
100 100
101 DISALLOW_COPY_AND_ASSIGN(DeviceMediaFileUtil); 101 DISALLOW_COPY_AND_ASSIGN(DeviceMediaFileUtil);
102 }; 102 };
103 103
104 } // namespace fileapi 104 } // namespace fileapi
105 105
106 #endif // WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_ 106 #endif // WEBKIT_FILEAPI_MEDIA_DEVICE_MEDIA_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/local_file_util.cc ('k') | webkit/fileapi/media/device_media_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698