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

Unified Diff: content/browser/renderer_host/pepper/pepper_file_io_host.cc

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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/pepper/pepper_file_io_host.cc
diff --git a/content/browser/renderer_host/pepper/pepper_file_io_host.cc b/content/browser/renderer_host/pepper/pepper_file_io_host.cc
index e350138f8a76d480171a1c400b9fee4d54517e4c..e031eb1dad8234ebb033e961cd4c068c906bd08d 100644
--- a/content/browser/renderer_host/pepper/pepper_file_io_host.cc
+++ b/content/browser/renderer_host/pepper/pepper_file_io_host.cc
@@ -87,7 +87,7 @@ void DidCloseFile(const base::Closure& on_close_callback) {
}
void DidOpenFile(base::WeakPtr<PepperFileIOHost> file_host,
- fileapi::FileSystemOperation::OpenFileCallback callback,
+ storage::FileSystemOperation::OpenFileCallback callback,
base::File file,
const base::Closure& on_close_callback) {
if (file_host) {
@@ -186,13 +186,13 @@ int32_t PepperFileIOHost::OnHostMsgOpen(
// Not all external file systems are fully supported yet.
// Whitelist the supported ones.
- if (file_system_url_.mount_type() == fileapi::kFileSystemTypeExternal) {
+ if (file_system_url_.mount_type() == storage::kFileSystemTypeExternal) {
switch (file_system_url_.type()) {
- case fileapi::kFileSystemTypeNativeMedia:
- case fileapi::kFileSystemTypeDeviceMedia:
- case fileapi::kFileSystemTypePicasa:
- case fileapi::kFileSystemTypeItunes:
- case fileapi::kFileSystemTypeIphoto:
+ case storage::kFileSystemTypeNativeMedia:
+ case storage::kFileSystemTypeDeviceMedia:
+ case storage::kFileSystemTypePicasa:
+ case storage::kFileSystemTypeItunes:
+ case storage::kFileSystemTypeIphoto:
break;
default:
return PP_ERROR_NOACCESS;

Powered by Google App Engine
This is Rietveld 408576698