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 InspectorFrontendHostFileSystem_h | 5 #ifndef InspectorFrontendHostFileSystem_h |
6 #define InspectorFrontendHostFileSystem_h | 6 #define InspectorFrontendHostFileSystem_h |
7 | 7 |
8 #include "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
9 #include "wtf/text/WTFString.h" | 9 #include "wtf/text/WTFString.h" |
10 | 10 |
11 namespace WebCore { | 11 namespace WebCore { |
12 | 12 |
13 class DOMFileSystem; | 13 class DOMFileSystem; |
14 class InspectorFrontendHost; | 14 class InspectorFrontendHost; |
15 | 15 |
16 class InspectorFrontendHostFileSystem { | 16 class InspectorFrontendHostFileSystem { |
17 public: | 17 public: |
18 static PassRefPtrWillBeRawPtr<DOMFileSystem> isolatedFileSystem(InspectorFro
ntendHost&, const String& fileSystemName, const String& rootURL); | 18 static DOMFileSystem* isolatedFileSystem(InspectorFrontendHost&, const Strin
g& fileSystemName, const String& rootURL); |
19 static void upgradeDraggedFileSystemPermissions(InspectorFrontendHost&, DOMF
ileSystem*); | 19 static void upgradeDraggedFileSystemPermissions(InspectorFrontendHost&, DOMF
ileSystem*); |
20 private: | 20 private: |
21 InspectorFrontendHostFileSystem(); | 21 InspectorFrontendHostFileSystem(); |
22 ~InspectorFrontendHostFileSystem(); | 22 ~InspectorFrontendHostFileSystem(); |
23 }; | 23 }; |
24 | 24 |
25 } // namespace WebCore | 25 } // namespace WebCore |
26 | 26 |
27 #endif // !defined(InspectorFrontendHostFileSystem_h) | 27 #endif // !defined(InspectorFrontendHostFileSystem_h) |
OLD | NEW |