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

Unified Diff: Source/modules/filesystem/DraggedIsolatedFileSystemImpl.h

Issue 925913002: Fixed WebDragData's wrong dependency. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 10 months 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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/filesystem/DraggedIsolatedFileSystemImpl.h
diff --git a/Source/modules/filesystem/DraggedIsolatedFileSystem.h b/Source/modules/filesystem/DraggedIsolatedFileSystemImpl.h
similarity index 70%
rename from Source/modules/filesystem/DraggedIsolatedFileSystem.h
rename to Source/modules/filesystem/DraggedIsolatedFileSystemImpl.h
index 84d01aa16d2f5e04d318cfd77dd42a05131a31a9..03a3997bafadc10053ce296be9246a52c7b9a9e2 100644
--- a/Source/modules/filesystem/DraggedIsolatedFileSystem.h
+++ b/Source/modules/filesystem/DraggedIsolatedFileSystemImpl.h
@@ -28,10 +28,11 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef DraggedIsolatedFileSystem_h
-#define DraggedIsolatedFileSystem_h
+#ifndef DraggedIsolatedFileSystemImpl_h
+#define DraggedIsolatedFileSystemImpl_h
#include "core/clipboard/DataObject.h"
+#include "core/clipboard/DraggedIsolatedFileSystem.h"
#include "platform/heap/Handle.h"
#include "wtf/Forward.h"
#include "wtf/text/WTFString.h"
@@ -40,28 +41,30 @@ namespace blink {
class DOMFileSystem;
-class DraggedIsolatedFileSystem final : public NoBaseWillBeGarbageCollectedFinalized<DraggedIsolatedFileSystem>, public WillBeHeapSupplement<DataObject> {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DraggedIsolatedFileSystem);
+class DraggedIsolatedFileSystemImpl final : public NoBaseWillBeGarbageCollectedFinalized<DraggedIsolatedFileSystemImpl>, public DraggedIsolatedFileSystem, public WillBeHeapSupplement<DataObject> {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DraggedIsolatedFileSystemImpl);
public:
- virtual ~DraggedIsolatedFileSystem();
+ virtual ~DraggedIsolatedFileSystemImpl();
- static PassOwnPtrWillBeRawPtr<DraggedIsolatedFileSystem> create(DataObject& host, const String& filesystemId)
+ static PassOwnPtrWillBeRawPtr<DraggedIsolatedFileSystemImpl> create(DataObject& host, const String& filesystemId)
{
- return adoptPtrWillBeNoop(new DraggedIsolatedFileSystem(host, filesystemId));
+ return adoptPtrWillBeNoop(new DraggedIsolatedFileSystemImpl(host, filesystemId));
}
static DOMFileSystem* getDOMFileSystem(DataObject* host, ExecutionContext*);
static const char* supplementName();
- static DraggedIsolatedFileSystem* from(DataObject*);
+ static DraggedIsolatedFileSystemImpl* from(DataObject*);
void trace(Visitor*);
+ static void prepareForDataObject(DataObject*, const String& filesystemId);
+
private:
- DraggedIsolatedFileSystem(DataObject& host, const String& filesystemId);
+ DraggedIsolatedFileSystemImpl(DataObject& host, const String& filesystemId);
PersistentWillBeMember<DOMFileSystem> m_filesystem;
};
} // namespace blink
-#endif // DraggedIsolatedFileSystem_h
+#endif // DraggedIsolatedFileSystemImpl_h

Powered by Google App Engine
This is Rietveld 408576698