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

Unified Diff: extensions/renderer/file_system_natives.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
« no previous file with comments | « extensions/browser/api/runtime/runtime_api.cc ('k') | extensions/shell/browser/shell_browser_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/renderer/file_system_natives.cc
diff --git a/extensions/renderer/file_system_natives.cc b/extensions/renderer/file_system_natives.cc
index 847e7a8656fd819b097e022c899fa73c50246303..12fcd7af649106efa4ce71f6a7db995a8761d0ba 100644
--- a/extensions/renderer/file_system_natives.cc
+++ b/extensions/renderer/file_system_natives.cc
@@ -46,7 +46,7 @@ void FileSystemNatives::GetIsolatedFileSystem(
extensions::ScriptContext::GetDataSourceURLForFrame(webframe);
CHECK(context_url.SchemeIs(extensions::kExtensionScheme));
- std::string name(fileapi::GetIsolatedFileSystemName(context_url.GetOrigin(),
+ std::string name(storage::GetIsolatedFileSystemName(context_url.GetOrigin(),
file_system_id));
// The optional second argument is the subfolder within the isolated file
@@ -57,7 +57,7 @@ void FileSystemNatives::GetIsolatedFileSystem(
optional_root_name = *v8::String::Utf8Value(args[1]);
}
- GURL root_url(fileapi::GetIsolatedFileSystemRootURIString(
+ GURL root_url(storage::GetIsolatedFileSystemRootURIString(
context_url.GetOrigin(), file_system_id, optional_root_name));
args.GetReturnValue().Set(
@@ -74,7 +74,7 @@ void FileSystemNatives::GetFileEntry(
DCHECK(args[0]->IsString());
std::string type_string = *v8::String::Utf8Value(args[0]->ToString());
blink::WebFileSystemType type;
- bool is_valid_type = fileapi::GetFileSystemPublicType(type_string, &type);
+ bool is_valid_type = storage::GetFileSystemPublicType(type_string, &type);
DCHECK(is_valid_type);
if (is_valid_type == false) {
return;
@@ -87,7 +87,7 @@ void FileSystemNatives::GetFileEntry(
GURL file_system_root_url(*v8::String::Utf8Value(args[2]->ToString()));
std::string file_path_string(*v8::String::Utf8Value(args[3]->ToString()));
base::FilePath file_path = base::FilePath::FromUTF8Unsafe(file_path_string);
- DCHECK(fileapi::VirtualPath::IsAbsolute(file_path.value()));
+ DCHECK(storage::VirtualPath::IsAbsolute(file_path.value()));
DCHECK(args[4]->IsBoolean());
blink::WebDOMFileSystem::EntryType entry_type =
@@ -115,7 +115,7 @@ void FileSystemNatives::CrackIsolatedFileSystemName(
DCHECK(args[0]->IsString());
std::string filesystem_name = *v8::String::Utf8Value(args[0]->ToString());
std::string filesystem_id;
- if (!fileapi::CrackIsolatedFileSystemName(filesystem_name, &filesystem_id))
+ if (!storage::CrackIsolatedFileSystemName(filesystem_name, &filesystem_id))
return;
args.GetReturnValue().Set(v8::String::NewFromUtf8(args.GetIsolate(),
« no previous file with comments | « extensions/browser/api/runtime/runtime_api.cc ('k') | extensions/shell/browser/shell_browser_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698