| 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 #ifndef DevToolsHostFileSystem_h | 5 #ifndef DevToolsHostFileSystem_h |
| 6 #define DevToolsHostFileSystem_h | 6 #define DevToolsHostFileSystem_h |
| 7 | 7 |
| 8 #include "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
| 9 #include "wtf/Allocator.h" | 9 #include "wtf/Allocator.h" |
| 10 #include "wtf/text/WTFString.h" | 10 #include "wtf/text/WTFString.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class DOMFileSystem; | |
| 15 class DevToolsHost; | 14 class DevToolsHost; |
| 15 class FileSystem; |
| 16 | 16 |
| 17 class DevToolsHostFileSystem { | 17 class DevToolsHostFileSystem { |
| 18 STATIC_ONLY(DevToolsHostFileSystem); | 18 STATIC_ONLY(DevToolsHostFileSystem); |
| 19 | 19 |
| 20 public: | 20 public: |
| 21 static DOMFileSystem* isolatedFileSystem(DevToolsHost&, | 21 static FileSystem* isolatedFileSystem(DevToolsHost&, |
| 22 const String& fileSystemName, | 22 const String& fileSystemName, |
| 23 const String& rootURL); | 23 const String& rootURL); |
| 24 static void upgradeDraggedFileSystemPermissions(DevToolsHost&, | 24 static void upgradeDraggedFileSystemPermissions(DevToolsHost&, FileSystem*); |
| 25 DOMFileSystem*); | |
| 26 }; | 25 }; |
| 27 | 26 |
| 28 } // namespace blink | 27 } // namespace blink |
| 29 | 28 |
| 30 #endif // !defined(DevToolsHostFileSystem_h) | 29 #endif // !defined(DevToolsHostFileSystem_h) |
| OLD | NEW |