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

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

Issue 10447055: Move fileapi into its own component (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 8 years, 6 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/isolated_context.h ('k') | webkit/fileapi/local_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_ISOLATED_FILE_UTIL_H_ 5 #ifndef WEBKIT_FILEAPI_ISOLATED_FILE_UTIL_H_
6 #define WEBKIT_FILEAPI_ISOLATED_FILE_UTIL_H_ 6 #define WEBKIT_FILEAPI_ISOLATED_FILE_UTIL_H_
7 7
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/file_util_proxy.h" 9 #include "base/file_util_proxy.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
11 #include "webkit/fileapi/fileapi_export.h"
11 #include "webkit/fileapi/file_system_file_util.h" 12 #include "webkit/fileapi/file_system_file_util.h"
12 13
13 namespace base { 14 namespace base {
14 class Time; 15 class Time;
15 } 16 }
16 17
17 namespace fileapi { 18 namespace fileapi {
18 19
19 class FileSystemOperationContext; 20 class FileSystemOperationContext;
20 class IsolatedContext; 21 class IsolatedContext;
21 22
22 class IsolatedFileUtil : public FileSystemFileUtil { 23 class FILEAPI_EXPORT_PRIVATE IsolatedFileUtil : public FileSystemFileUtil {
23 public: 24 public:
24 IsolatedFileUtil(); 25 IsolatedFileUtil();
25 virtual ~IsolatedFileUtil() {} 26 virtual ~IsolatedFileUtil() {}
26 27
27 // FileSystemFileUtil overrides. 28 // FileSystemFileUtil overrides.
28 virtual base::PlatformFileError CreateOrOpen( 29 virtual base::PlatformFileError CreateOrOpen(
29 FileSystemOperationContext* context, 30 FileSystemOperationContext* context,
30 const FileSystemPath& path, 31 const FileSystemPath& path,
31 int file_flags, 32 int file_flags,
32 base::PlatformFile* file_handle, 33 base::PlatformFile* file_handle,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 // Returns false if the given |virtual_path| is not a valid path. 94 // Returns false if the given |virtual_path| is not a valid path.
94 bool GetPlatformPath(const FileSystemPath& virtual_path, 95 bool GetPlatformPath(const FileSystemPath& virtual_path,
95 FilePath* platform_path) const; 96 FilePath* platform_path) const;
96 97
97 DISALLOW_COPY_AND_ASSIGN(IsolatedFileUtil); 98 DISALLOW_COPY_AND_ASSIGN(IsolatedFileUtil);
98 }; 99 };
99 100
100 } // namespace fileapi 101 } // namespace fileapi
101 102
102 #endif // WEBKIT_FILEAPI_ISOLATED_FILE_UTIL_H_ 103 #endif // WEBKIT_FILEAPI_ISOLATED_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/isolated_context.h ('k') | webkit/fileapi/local_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698