OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef DraggedIsolatedFileSystem_h |
| 6 #define DraggedIsolatedFileSystem_h |
| 7 |
| 8 #include "platform/heap/Handle.h" |
| 9 #include "wtf/Forward.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class DataObject; |
| 14 |
| 15 class DraggedIsolatedFileSystem { |
| 16 WTF_MAKE_NONCOPYABLE(DraggedIsolatedFileSystem); |
| 17 public: |
| 18 DraggedIsolatedFileSystem() { } |
| 19 virtual ~DraggedIsolatedFileSystem() { } |
| 20 |
| 21 using FileSystemIdPreparationCallback = void(*)(DataObject*, const String&); |
| 22 static void init(FileSystemIdPreparationCallback); |
| 23 |
| 24 static void prepareForDataObject(DataObject*, const String& filesystemId); |
| 25 |
| 26 private: |
| 27 static FileSystemIdPreparationCallback s_prepareCallback; |
| 28 }; |
| 29 |
| 30 } // namespace blink |
| 31 |
| 32 #endif // DraggedIsolatedFileSystem_h |
OLD | NEW |