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