Commit ad7e3efb authored by tyoshino's avatar tyoshino Committed by Commit bot

Remove unused method crackFileSystemURL() from DOMFileSystemBase

R=haraken
BUG=none

Review-Url: https://codereview.chromium.org/2273873004
Cr-Commit-Position: refs/heads/master@{#414205}
parent aa339eca
......@@ -94,22 +94,6 @@ bool DOMFileSystemBase::isValidType(FileSystemType type)
return type == FileSystemTypeTemporary || type == FileSystemTypePersistent || type == FileSystemTypeIsolated || type == FileSystemTypeExternal;
}
bool DOMFileSystemBase::crackFileSystemURL(const KURL& url, FileSystemType& type, String& filePath)
{
if (!url.protocolIs("filesystem"))
return false;
if (!url.innerURL())
return false;
String typeString = url.innerURL()->path().substring(1);
if (!pathPrefixToFileSystemType(typeString, type))
return false;
filePath = decodeURLEscapeSequences(url.path());
return true;
}
KURL DOMFileSystemBase::createFileSystemRootURL(const String& origin, FileSystemType type)
{
String typeString;
......
......@@ -96,7 +96,6 @@ public:
bool clonable() const { return m_clonable; }
static bool isValidType(FileSystemType);
static bool crackFileSystemURL(const KURL&, FileSystemType&, String& filePath);
static KURL createFileSystemRootURL(const String& origin, FileSystemType);
bool supportsToURL() const;
KURL createFileSystemURL(const EntryBase*) const;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment