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

Side by Side Diff: webkit/fileapi/local_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
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_LOCAL_FILE_UTIL_H_ 5 #ifndef WEBKIT_FILEAPI_LOCAL_FILE_UTIL_H_
6 #define WEBKIT_FILEAPI_LOCAL_FILE_UTIL_H_ 6 #define WEBKIT_FILEAPI_LOCAL_FILE_UTIL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "base/file_util.h" 13 #include "base/file_util.h"
14 #include "base/file_util_proxy.h" 14 #include "base/file_util_proxy.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/platform_file.h" 16 #include "base/platform_file.h"
17 #include "webkit/blob/shareable_file_reference.h" 17 #include "webkit/blob/shareable_file_reference.h"
18 #include "webkit/fileapi/fileapi_export.h"
19 #include "webkit/fileapi/file_system_file_util.h" 18 #include "webkit/fileapi/file_system_file_util.h"
20 #include "webkit/fileapi/file_system_types.h" 19 #include "webkit/fileapi/file_system_types.h"
20 #include "webkit/storage/webkit_storage_export.h"
21 21
22 namespace base { 22 namespace base {
23 struct PlatformFileInfo; 23 struct PlatformFileInfo;
24 class Time; 24 class Time;
25 } 25 }
26 26
27 class GURL; 27 class GURL;
28 28
29 namespace fileapi { 29 namespace fileapi {
30 30
31 using base::PlatformFile; 31 using base::PlatformFile;
32 using base::PlatformFileError; 32 using base::PlatformFileError;
33 33
34 class FileSystemOperationContext; 34 class FileSystemOperationContext;
35 class FileSystemURL; 35 class FileSystemURL;
36 36
37 // An instance of this class is created and owned by *MountPointProvider. 37 // An instance of this class is created and owned by *MountPointProvider.
38 class FILEAPI_EXPORT_PRIVATE LocalFileUtil : public FileSystemFileUtil { 38 class WEBKIT_STORAGE_EXPORT_PRIVATE LocalFileUtil : public FileSystemFileUtil {
39 public: 39 public:
40 LocalFileUtil(); 40 LocalFileUtil();
41 virtual ~LocalFileUtil(); 41 virtual ~LocalFileUtil();
42 42
43 virtual PlatformFileError CreateOrOpen( 43 virtual PlatformFileError CreateOrOpen(
44 FileSystemOperationContext* context, 44 FileSystemOperationContext* context,
45 const FileSystemURL& url, 45 const FileSystemURL& url,
46 int file_flags, 46 int file_flags,
47 PlatformFile* file_handle, 47 PlatformFile* file_handle,
48 bool* created) OVERRIDE; 48 bool* created) OVERRIDE;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 FileSystemURL GetLocalPath( 110 FileSystemURL GetLocalPath(
111 FileSystemOperationContext* context, 111 FileSystemOperationContext* context,
112 const FileSystemURL& url); 112 const FileSystemURL& url);
113 113
114 DISALLOW_COPY_AND_ASSIGN(LocalFileUtil); 114 DISALLOW_COPY_AND_ASSIGN(LocalFileUtil);
115 }; 115 };
116 116
117 } // namespace fileapi 117 } // namespace fileapi
118 118
119 #endif // WEBKIT_FILEAPI_LOCAL_FILE_UTIL_H_ 119 #endif // WEBKIT_FILEAPI_LOCAL_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/local_file_system_operation.h ('k') | webkit/fileapi/media/device_media_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698