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

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

Issue 16701004: Fix webkit_storage exports definitions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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
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_BROWSER_FILEAPI_ISOLATED_FILE_UTIL_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_ISOLATED_FILE_UTIL_H_
6 #define WEBKIT_BROWSER_FILEAPI_ISOLATED_FILE_UTIL_H_ 6 #define WEBKIT_BROWSER_FILEAPI_ISOLATED_FILE_UTIL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "webkit/browser/fileapi/local_file_util.h" 9 #include "webkit/browser/fileapi/local_file_util.h"
10 #include "webkit/storage/webkit_storage_export.h" 10 #include "webkit/browser/webkit_storage_browser_export.h"
11 11
12 namespace fileapi { 12 namespace fileapi {
13 13
14 class FileSystemOperationContext; 14 class FileSystemOperationContext;
15 15
16 class WEBKIT_STORAGE_EXPORT_PRIVATE IsolatedFileUtil : public LocalFileUtil { 16 class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE IsolatedFileUtil
17 : public LocalFileUtil {
17 public: 18 public:
18 IsolatedFileUtil(); 19 IsolatedFileUtil();
19 virtual ~IsolatedFileUtil() {} 20 virtual ~IsolatedFileUtil() {}
20 21
21 // LocalFileUtil overrides. 22 // LocalFileUtil overrides.
22 virtual base::PlatformFileError GetLocalFilePath( 23 virtual base::PlatformFileError GetLocalFilePath(
23 FileSystemOperationContext* context, 24 FileSystemOperationContext* context,
24 const FileSystemURL& file_system_url, 25 const FileSystemURL& file_system_url,
25 base::FilePath* local_file_path) OVERRIDE; 26 base::FilePath* local_file_path) OVERRIDE;
26 }; 27 };
27 28
28 // Dragged file system is a specialized IsolatedFileUtil where read access to 29 // Dragged file system is a specialized IsolatedFileUtil where read access to
29 // the virtual root directory (i.e. empty cracked path case) is allowed 30 // the virtual root directory (i.e. empty cracked path case) is allowed
30 // and single isolated context may be associated with multiple file paths. 31 // and single isolated context may be associated with multiple file paths.
31 class WEBKIT_STORAGE_EXPORT_PRIVATE DraggedFileUtil : public IsolatedFileUtil { 32 class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE DraggedFileUtil
33 : public IsolatedFileUtil {
32 public: 34 public:
33 DraggedFileUtil(); 35 DraggedFileUtil();
34 virtual ~DraggedFileUtil() {} 36 virtual ~DraggedFileUtil() {}
35 37
36 // FileSystemFileUtil overrides. 38 // FileSystemFileUtil overrides.
37 virtual base::PlatformFileError GetFileInfo( 39 virtual base::PlatformFileError GetFileInfo(
38 FileSystemOperationContext* context, 40 FileSystemOperationContext* context,
39 const FileSystemURL& url, 41 const FileSystemURL& url,
40 base::PlatformFileInfo* file_info, 42 base::PlatformFileInfo* file_info,
41 base::FilePath* platform_path) OVERRIDE; 43 base::FilePath* platform_path) OVERRIDE;
42 virtual scoped_ptr<AbstractFileEnumerator> CreateFileEnumerator( 44 virtual scoped_ptr<AbstractFileEnumerator> CreateFileEnumerator(
43 FileSystemOperationContext* context, 45 FileSystemOperationContext* context,
44 const FileSystemURL& root_url) OVERRIDE; 46 const FileSystemURL& root_url) OVERRIDE;
45 47
46 private: 48 private:
47 DISALLOW_COPY_AND_ASSIGN(DraggedFileUtil); 49 DISALLOW_COPY_AND_ASSIGN(DraggedFileUtil);
48 }; 50 };
49 51
50 } // namespace fileapi 52 } // namespace fileapi
51 53
52 #endif // WEBKIT_BROWSER_FILEAPI_ISOLATED_FILE_UTIL_H_ 54 #endif // WEBKIT_BROWSER_FILEAPI_ISOLATED_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/isolated_context.h ('k') | webkit/browser/fileapi/local_file_stream_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698