Index: Source/core/inspector/InspectorFrontendHost.cpp |
diff --git a/Source/core/inspector/InspectorFrontendHost.cpp b/Source/core/inspector/InspectorFrontendHost.cpp |
index c4f26cedf06f70d4af2d508179da10d52b054a69..b53b3f51a219e1dac37c2b69547ba184291fbb2a 100644 |
--- a/Source/core/inspector/InspectorFrontendHost.cpp |
+++ b/Source/core/inspector/InspectorFrontendHost.cpp |
@@ -214,6 +214,19 @@ PassRefPtr<DOMFileSystem> InspectorFrontendHost::isolatedFileSystem(const String |
return DOMFileSystem::create(context, fileSystemName, FileSystemTypeIsolated, KURL(ParsedURLString, rootURL)); |
} |
+void InspectorFrontendHost::upgradeDraggedFileSystemPermissions(DOMFileSystem* domFileSystem) |
+{ |
+ if (!m_client) |
+ return; |
+ RefPtr<JSONObject> message = JSONObject::create(); |
+ message->setNumber("id", 0); |
+ message->setString("method", "upgradeDraggedFileSystemPermissions"); |
+ RefPtr<JSONArray> params = JSONArray::create(); |
+ message->setArray("params", params); |
+ params->pushString(domFileSystem->rootURL().string()); |
+ sendMessageToEmbedder(message->toJSONString()); |
+} |
+ |
bool InspectorFrontendHost::isUnderTest() |
{ |
return m_client && m_client->isUnderTest(); |