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

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

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 years, 4 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_LOCAL_FILE_UTIL_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_LOCAL_FILE_UTIL_H_
6 #define WEBKIT_BROWSER_FILEAPI_LOCAL_FILE_UTIL_H_ 6 #define WEBKIT_BROWSER_FILEAPI_LOCAL_FILE_UTIL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "webkit/browser/fileapi/file_system_file_util.h" 11 #include "webkit/browser/fileapi/file_system_file_util.h"
12 #include "webkit/browser/webkit_storage_browser_export.h" 12 #include "webkit/browser/webkit_storage_browser_export.h"
13 13
14 namespace base { 14 namespace base {
15 class Time; 15 class Time;
16 } 16 }
17 17
18 class GURL; 18 class GURL;
19 19
20 namespace fileapi { 20 namespace storage {
21 21
22 class FileSystemOperationContext; 22 class FileSystemOperationContext;
23 class FileSystemURL; 23 class FileSystemURL;
24 24
25 // An instance of this class is created and owned by *FileSystemBackend. 25 // An instance of this class is created and owned by *FileSystemBackend.
26 class WEBKIT_STORAGE_BROWSER_EXPORT LocalFileUtil 26 class WEBKIT_STORAGE_BROWSER_EXPORT LocalFileUtil
27 : public FileSystemFileUtil { 27 : public FileSystemFileUtil {
28 public: 28 public:
29 LocalFileUtil(); 29 LocalFileUtil();
30 virtual ~LocalFileUtil(); 30 virtual ~LocalFileUtil();
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual base::File::Error CopyInForeignFile( 71 virtual base::File::Error CopyInForeignFile(
72 FileSystemOperationContext* context, 72 FileSystemOperationContext* context,
73 const base::FilePath& src_file_path, 73 const base::FilePath& src_file_path,
74 const FileSystemURL& dest_url) OVERRIDE; 74 const FileSystemURL& dest_url) OVERRIDE;
75 virtual base::File::Error DeleteFile( 75 virtual base::File::Error DeleteFile(
76 FileSystemOperationContext* context, 76 FileSystemOperationContext* context,
77 const FileSystemURL& url) OVERRIDE; 77 const FileSystemURL& url) OVERRIDE;
78 virtual base::File::Error DeleteDirectory( 78 virtual base::File::Error DeleteDirectory(
79 FileSystemOperationContext* context, 79 FileSystemOperationContext* context,
80 const FileSystemURL& url) OVERRIDE; 80 const FileSystemURL& url) OVERRIDE;
81 virtual webkit_blob::ScopedFile CreateSnapshotFile( 81 virtual storage::ScopedFile CreateSnapshotFile(
82 FileSystemOperationContext* context, 82 FileSystemOperationContext* context,
83 const FileSystemURL& url, 83 const FileSystemURL& url,
84 base::File::Error* error, 84 base::File::Error* error,
85 base::File::Info* file_info, 85 base::File::Info* file_info,
86 base::FilePath* platform_path) OVERRIDE; 86 base::FilePath* platform_path) OVERRIDE;
87 87
88 private: 88 private:
89 DISALLOW_COPY_AND_ASSIGN(LocalFileUtil); 89 DISALLOW_COPY_AND_ASSIGN(LocalFileUtil);
90 }; 90 };
91 91
92 } // namespace fileapi 92 } // namespace storage
93 93
94 #endif // WEBKIT_BROWSER_FILEAPI_LOCAL_FILE_UTIL_H_ 94 #endif // WEBKIT_BROWSER_FILEAPI_LOCAL_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/local_file_stream_writer.cc ('k') | webkit/browser/fileapi/local_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698