| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "config.h" | 5 #include "config.h" |
| 6 #include "modules/filesystem/DevToolsHostFileSystem.h" | 6 #include "modules/filesystem/DevToolsHostFileSystem.h" |
| 7 | 7 |
| 8 #include "core/dom/Document.h" | 8 #include "core/dom/Document.h" |
| 9 #include "core/frame/LocalFrame.h" | 9 #include "core/frame/LocalFrame.h" |
| 10 #include "core/inspector/DevToolsHost.h" | 10 #include "core/inspector/DevToolsHost.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 { | 24 { |
| 25 RefPtr<JSONObject> message = JSONObject::create(); | 25 RefPtr<JSONObject> message = JSONObject::create(); |
| 26 message->setNumber("id", 0); | 26 message->setNumber("id", 0); |
| 27 message->setString("method", "upgradeDraggedFileSystemPermissions"); | 27 message->setString("method", "upgradeDraggedFileSystemPermissions"); |
| 28 RefPtr<JSONArray> params = JSONArray::create(); | 28 RefPtr<JSONArray> params = JSONArray::create(); |
| 29 message->setArray("params", params); | 29 message->setArray("params", params); |
| 30 params->pushString(domFileSystem->rootURL().string()); | 30 params->pushString(domFileSystem->rootURL().string()); |
| 31 host.sendMessageToEmbedder(message->toJSONString()); | 31 host.sendMessageToEmbedder(message->toJSONString()); |
| 32 } | 32 } |
| 33 | 33 |
| 34 DevToolsHostFileSystem::DevToolsHostFileSystem() { } | |
| 35 | |
| 36 DevToolsHostFileSystem::~DevToolsHostFileSystem() { } | |
| 37 | |
| 38 | |
| 39 } // namespace blink | 34 } // namespace blink |
| OLD | NEW |