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

Side by Side Diff: Source/modules/filesystem/DraggedIsolatedFileSystem.h

Issue 256103007: Remove modules/filesystem/DraggedIsolatedFileSystem.h dependency from core/DEPS. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 27 matching lines...) Expand all
38 38
39 namespace WebCore { 39 namespace WebCore {
40 40
41 class DOMFileSystem; 41 class DOMFileSystem;
42 42
43 class DraggedIsolatedFileSystem FINAL : public NoBaseWillBeGarbageCollectedFinal ized<DraggedIsolatedFileSystem>, public WillBeHeapSupplement<DataObject> { 43 class DraggedIsolatedFileSystem FINAL : public NoBaseWillBeGarbageCollectedFinal ized<DraggedIsolatedFileSystem>, public WillBeHeapSupplement<DataObject> {
44 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DraggedIsolatedFileSystem); 44 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DraggedIsolatedFileSystem);
45 public: 45 public:
46 virtual ~DraggedIsolatedFileSystem(); 46 virtual ~DraggedIsolatedFileSystem();
47 47
48 static PassOwnPtrWillBeRawPtr<DraggedIsolatedFileSystem> create(const String & filesystemId) 48 static PassOwnPtrWillBeRawPtr<DraggedIsolatedFileSystem> create(DataObject& host, const String& filesystemId)
49 { 49 {
50 return adoptPtrWillBeNoop(new DraggedIsolatedFileSystem(filesystemId)); 50 return adoptPtrWillBeNoop(new DraggedIsolatedFileSystem(host, filesystem Id));
51 } 51 }
52 52
53 const String& filesystemId() const { return m_filesystemId; } 53 static DOMFileSystem* getDOMFileSystem(DataObject* host, ExecutionContext*);
54 DOMFileSystem* getDOMFileSystem(ExecutionContext*);
55 54
56 static const char* supplementName(); 55 static const char* supplementName();
57 static DraggedIsolatedFileSystem* from(DataObject*); 56 static DraggedIsolatedFileSystem* from(DataObject*);
58 57
59 void trace(Visitor*); 58 void trace(Visitor*);
60 59
61 private: 60 private:
62 DraggedIsolatedFileSystem(const String& filesystemId); 61 DraggedIsolatedFileSystem(DataObject& host, const String& filesystemId);
63 RefPtrWillBeMember<DOMFileSystem> m_filesystem; 62 RefPtrWillBeMember<DOMFileSystem> m_filesystem;
64 String m_filesystemId;
65 }; 63 };
66 64
67 } // namespace WebCore 65 } // namespace WebCore
68 66
69 #endif // DraggedIsolatedFileSystem_h 67 #endif // DraggedIsolatedFileSystem_h
OLDNEW
« no previous file with comments | « Source/modules/filesystem/DataTransferItemFileSystem.cpp ('k') | Source/modules/filesystem/DraggedIsolatedFileSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698