Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(629)

Side by Side Diff: third_party/WebKit/Source/core/clipboard/DraggedIsolatedFileSystem.h

Issue 2582463002: Fix webkitGetEntry for non-native files. (Closed)
Patch Set: . Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 DraggedIsolatedFileSystem_h 5 #ifndef DraggedIsolatedFileSystem_h
6 #define DraggedIsolatedFileSystem_h 6 #define DraggedIsolatedFileSystem_h
7 7
8 #include "core/CoreExport.h" 8 #include "core/CoreExport.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "wtf/Forward.h" 10 #include "wtf/Forward.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class DataObject; 14 class DataObject;
15 15
16 class CORE_EXPORT DraggedIsolatedFileSystem { 16 class CORE_EXPORT DraggedIsolatedFileSystem {
17 WTF_MAKE_NONCOPYABLE(DraggedIsolatedFileSystem); 17 WTF_MAKE_NONCOPYABLE(DraggedIsolatedFileSystem);
18 18
19 public: 19 public:
20 DraggedIsolatedFileSystem() {} 20 DraggedIsolatedFileSystem() {}
21 virtual ~DraggedIsolatedFileSystem() {} 21 virtual ~DraggedIsolatedFileSystem() {}
22 22
23 using FileSystemIdPreparationCallback = void (*)(DataObject*, const String&); 23 using FileSystemIdPreparationCallback = void (*)(DataObject*);
24 static void init(FileSystemIdPreparationCallback); 24 static void init(FileSystemIdPreparationCallback);
25 25
26 static void prepareForDataObject(DataObject*, const String& filesystemId); 26 static void prepareForDataObject(DataObject*);
27 27
28 private: 28 private:
29 static FileSystemIdPreparationCallback s_prepareCallback; 29 static FileSystemIdPreparationCallback s_prepareCallback;
30 }; 30 };
31 31
32 } // namespace blink 32 } // namespace blink
33 33
34 #endif // DraggedIsolatedFileSystem_h 34 #endif // DraggedIsolatedFileSystem_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698