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

Side by Side Diff: storage/browser/fileapi/transient_file_util.h

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_TRANSIENT_FILE_UTIL_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_TRANSIENT_FILE_UTIL_H_
6 #define WEBKIT_BROWSER_FILEAPI_TRANSIENT_FILE_UTIL_H_ 6 #define WEBKIT_BROWSER_FILEAPI_TRANSIENT_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 "storage/browser/fileapi/local_file_util.h"
10 #include "webkit/browser/webkit_storage_browser_export.h" 10 #include "storage/common/storage_export.h"
11 11
12 namespace fileapi { 12 namespace storage {
13 13
14 class FileSystemOperationContext; 14 class FileSystemOperationContext;
15 15
16 class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE TransientFileUtil 16 class STORAGE_EXPORT_PRIVATE TransientFileUtil : public LocalFileUtil {
17 : public LocalFileUtil {
18 public: 17 public:
19 TransientFileUtil() {} 18 TransientFileUtil() {}
20 virtual ~TransientFileUtil() {} 19 virtual ~TransientFileUtil() {}
21 20
22 // LocalFileUtil overrides. 21 // LocalFileUtil overrides.
23 virtual webkit_blob::ScopedFile CreateSnapshotFile( 22 virtual storage::ScopedFile CreateSnapshotFile(
24 FileSystemOperationContext* context, 23 FileSystemOperationContext* context,
25 const FileSystemURL& url, 24 const FileSystemURL& url,
26 base::File::Error* error, 25 base::File::Error* error,
27 base::File::Info* file_info, 26 base::File::Info* file_info,
28 base::FilePath* platform_path) OVERRIDE; 27 base::FilePath* platform_path) OVERRIDE;
29 28
30 private: 29 private:
31 DISALLOW_COPY_AND_ASSIGN(TransientFileUtil); 30 DISALLOW_COPY_AND_ASSIGN(TransientFileUtil);
32 }; 31 };
33 32
34 } // namespace fileapi 33 } // namespace storage
35 34
36 #endif // WEBKIT_BROWSER_FILEAPI_TRANSIENT_FILE_UTIL_H_ 35 #endif // WEBKIT_BROWSER_FILEAPI_TRANSIENT_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « storage/browser/fileapi/timed_task_helper.cc ('k') | storage/browser/fileapi/transient_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698