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

Side by Side Diff: storage/common/fileapi/file_system_util.h

Issue 524983002: Move fileapi-related files from webkit/common/ to storage/common/ and set up redirect headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix presubmit Created 6 years, 3 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
« no previous file with comments | « storage/common/fileapi/file_system_types.h ('k') | storage/common/fileapi/file_system_util.cc » ('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_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_ 5 #ifndef STORAGE_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_
6 #define WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_ 6 #define STORAGE_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/files/file.h" 11 #include "base/files/file.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "storage/common/fileapi/file_system_info.h"
14 #include "storage/common/fileapi/file_system_types.h"
15 #include "storage/common/quota/quota_types.h"
16 #include "storage/common/storage_common_export.h"
13 #include "third_party/WebKit/public/platform/WebFileError.h" 17 #include "third_party/WebKit/public/platform/WebFileError.h"
14 #include "third_party/WebKit/public/platform/WebFileSystemType.h" 18 #include "third_party/WebKit/public/platform/WebFileSystemType.h"
15 #include "webkit/common/fileapi/file_system_info.h"
16 #include "webkit/common/fileapi/file_system_types.h"
17 #include "webkit/common/quota/quota_types.h"
18 #include "webkit/common/storage_common_export.h"
19 19
20 class GURL; 20 class GURL;
21 21
22 namespace storage { 22 namespace storage {
23 23
24 STORAGE_COMMON_EXPORT extern const char kPersistentDir[]; 24 STORAGE_COMMON_EXPORT extern const char kPersistentDir[];
25 STORAGE_COMMON_EXPORT extern const char kTemporaryDir[]; 25 STORAGE_COMMON_EXPORT extern const char kTemporaryDir[];
26 STORAGE_COMMON_EXPORT extern const char kExternalDir[]; 26 STORAGE_COMMON_EXPORT extern const char kExternalDir[];
27 STORAGE_COMMON_EXPORT extern const char kIsolatedDir[]; 27 STORAGE_COMMON_EXPORT extern const char kIsolatedDir[];
28 STORAGE_COMMON_EXPORT extern const char kTestDir[]; 28 STORAGE_COMMON_EXPORT extern const char kTestDir[];
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 STORAGE_COMMON_EXPORT std::string GetExternalFileSystemRootURIString( 172 STORAGE_COMMON_EXPORT std::string GetExternalFileSystemRootURIString(
173 const GURL& origin_url, 173 const GURL& origin_url,
174 const std::string& mount_name); 174 const std::string& mount_name);
175 175
176 // Translates the net::Error to base::File::Error. 176 // Translates the net::Error to base::File::Error.
177 STORAGE_COMMON_EXPORT base::File::Error 177 STORAGE_COMMON_EXPORT base::File::Error
178 NetErrorToFileError(int error); 178 NetErrorToFileError(int error);
179 179
180 } // namespace storage 180 } // namespace storage
181 181
182 #endif // WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_ 182 #endif // STORAGE_COMMON_FILEAPI_FILE_SYSTEM_UTIL_H_
OLDNEW
« no previous file with comments | « storage/common/fileapi/file_system_types.h ('k') | storage/common/fileapi/file_system_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698