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

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: _ 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_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/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 STORAGE_EXPORT_PRIVATE NativeMediaFileUtil : public IsolatedFileUtil {
17 public: 17 public:
18 NativeMediaFileUtil(); 18 NativeMediaFileUtil();
19 19
20 virtual PlatformFileError CreateOrOpen( 20 virtual PlatformFileError CreateOrOpen(
21 FileSystemOperationContext* context, 21 FileSystemOperationContext* context,
22 const FileSystemURL& url, 22 const FileSystemURL& url,
23 int file_flags, 23 int file_flags,
24 PlatformFile* file_handle, 24 PlatformFile* file_handle,
25 bool* created) OVERRIDE; 25 bool* created) OVERRIDE;
26 virtual PlatformFileError EnsureFileExists( 26 virtual PlatformFileError EnsureFileExists(
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 base::PlatformFileInfo* file_info, 60 base::PlatformFileInfo* file_info,
61 FilePath* platform_path) OVERRIDE; 61 FilePath* platform_path) OVERRIDE;
62 62
63 private: 63 private:
64 DISALLOW_COPY_AND_ASSIGN(NativeMediaFileUtil); 64 DISALLOW_COPY_AND_ASSIGN(NativeMediaFileUtil);
65 }; 65 };
66 66
67 } // namespace fileapi 67 } // namespace fileapi
68 68
69 #endif // WEBKIT_FILEAPI_MEDIA_NATIVE_MEDIA_FILE_UTIL_H_ 69 #endif // WEBKIT_FILEAPI_MEDIA_NATIVE_MEDIA_FILE_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698