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/text/WTFString.h" | 10 #include "wtf/text/WTFString.h" |
10 | 11 |
11 namespace blink { | 12 namespace blink { |
12 | 13 |
13 class DOMFileSystem; | 14 class DOMFileSystem; |
14 class DevToolsHost; | 15 class DevToolsHost; |
15 | 16 |
16 class DevToolsHostFileSystem { | 17 class DevToolsHostFileSystem { |
| 18 STATIC_ONLY(DevToolsHostFileSystem); |
17 public: | 19 public: |
18 static DOMFileSystem* isolatedFileSystem(DevToolsHost&, const String& fileSy
stemName, const String& rootURL); | 20 static DOMFileSystem* isolatedFileSystem(DevToolsHost&, const String& fileSy
stemName, const String& rootURL); |
19 static void upgradeDraggedFileSystemPermissions(DevToolsHost&, DOMFileSystem
*); | 21 static void upgradeDraggedFileSystemPermissions(DevToolsHost&, DOMFileSystem
*); |
20 private: | |
21 DevToolsHostFileSystem(); | |
22 ~DevToolsHostFileSystem(); | |
23 }; | 22 }; |
24 | 23 |
25 } // namespace blink | 24 } // namespace blink |
26 | 25 |
27 #endif // !defined(DevToolsHostFileSystem_h) | 26 #endif // !defined(DevToolsHostFileSystem_h) |
OLD | NEW |