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

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

Issue 11103031: webkit: Merge blob and fileapi into one build target 'storage' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Leave *.gypi files in blob and fileapi 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
« no previous file with comments | « webkit/fileapi/media/mtp_device_map_service.h ('k') | webkit/fileapi/native_file_util.h » ('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_NATIVE_MEDIA_FILE_UTIL_H_ 5 #ifndef WEBKIT_FILEAPI_MEDIA_NATIVE_MEDIA_FILE_UTIL_H_
6 #define WEBKIT_FILEAPI_MEDIA_NATIVE_MEDIA_FILE_UTIL_H_ 6 #define WEBKIT_FILEAPI_MEDIA_NATIVE_MEDIA_FILE_UTIL_H_
7 7
8 #include "webkit/fileapi/fileapi_export.h"
9 #include "webkit/fileapi/isolated_file_util.h" 8 #include "webkit/fileapi/isolated_file_util.h"
9 #include "webkit/storage/webkit_storage_export.h"
10 10
11 namespace fileapi { 11 namespace fileapi {
12 12
13 // This class handles native file system operations with media type filtering 13 // This class handles native file system operations with media type filtering
14 // which is passed to each method via FileSystemOperationContext as 14 // which is passed to each method via FileSystemOperationContext as
15 // MediaPathFilter. 15 // MediaPathFilter.
16 class FILEAPI_EXPORT_PRIVATE NativeMediaFileUtil : public IsolatedFileUtil { 16 class WEBKIT_STORAGE_EXPORT_PRIVATE NativeMediaFileUtil
17 : public IsolatedFileUtil {
17 public: 18 public:
18 NativeMediaFileUtil(); 19 NativeMediaFileUtil();
19 20
20 virtual PlatformFileError CreateOrOpen( 21 virtual PlatformFileError CreateOrOpen(
21 FileSystemOperationContext* context, 22 FileSystemOperationContext* context,
22 const FileSystemURL& url, 23 const FileSystemURL& url,
23 int file_flags, 24 int file_flags,
24 PlatformFile* file_handle, 25 PlatformFile* file_handle,
25 bool* created) OVERRIDE; 26 bool* created) OVERRIDE;
26 virtual PlatformFileError EnsureFileExists( 27 virtual PlatformFileError EnsureFileExists(
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 base::PlatformFileInfo* file_info, 61 base::PlatformFileInfo* file_info,
61 FilePath* platform_path) OVERRIDE; 62 FilePath* platform_path) OVERRIDE;
62 63
63 private: 64 private:
64 DISALLOW_COPY_AND_ASSIGN(NativeMediaFileUtil); 65 DISALLOW_COPY_AND_ASSIGN(NativeMediaFileUtil);
65 }; 66 };
66 67
67 } // namespace fileapi 68 } // namespace fileapi
68 69
69 #endif // WEBKIT_FILEAPI_MEDIA_NATIVE_MEDIA_FILE_UTIL_H_ 70 #endif // WEBKIT_FILEAPI_MEDIA_NATIVE_MEDIA_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/media/mtp_device_map_service.h ('k') | webkit/fileapi/native_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698