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

Unified Diff: third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.cpp

Issue 2297043002: Web expose FileSystemFileEntry, FileSystemDirectoryEntry and friends (Closed)
Patch Set: Rebased Created 4 years, 1 month 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: third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.cpp
diff --git a/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.cpp b/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.cpp
index bdda352031b10104c20215077600c56e74457ede..7f3ff443301a836f4293027ae82925f45d04c965 100644
--- a/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.cpp
+++ b/third_party/WebKit/Source/bindings/modules/v8/serialization/V8ScriptValueDeserializerForModules.cpp
@@ -6,7 +6,7 @@
#include "bindings/modules/v8/serialization/WebCryptoSubTags.h"
#include "modules/crypto/CryptoKey.h"
-#include "modules/filesystem/DOMFileSystem.h"
+#include "modules/filesystem/FileSystem.h"
#include "modules/peerconnection/RTCCertificate.h"
#include "platform/FileSystemType.h"
#include "public/platform/Platform.h"
@@ -27,16 +27,16 @@ ScriptWrappable* V8ScriptValueDeserializerForModules::readDOMObject(
switch (tag) {
case CryptoKeyTag:
return readCryptoKey();
- case DOMFileSystemTag: {
+ case FileSystemTag: {
uint32_t rawType;
String name;
String rootURL;
if (!readUint32(&rawType) || rawType > FileSystemTypeLast ||
!readUTF8String(&name) || !readUTF8String(&rootURL))
return nullptr;
- return DOMFileSystem::create(getScriptState()->getExecutionContext(),
- name, static_cast<FileSystemType>(rawType),
- KURL(ParsedURLString, rootURL));
+ return FileSystem::create(getScriptState()->getExecutionContext(), name,
+ static_cast<FileSystemType>(rawType),
+ KURL(ParsedURLString, rootURL));
}
case RTCCertificateTag: {
String pemPrivateKey;

Powered by Google App Engine
This is Rietveld 408576698