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

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

Issue 324483002: Move LocalFileSystem to hang off LocalFrame instead of Page. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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/LocalFileSystem.h
diff --git a/Source/modules/filesystem/LocalFileSystem.h b/Source/modules/filesystem/LocalFileSystem.h
index f13a782f4c778da0a4f7951bb445eb35bec9f308..ce68f027095a738145dd357806d43e8bb67d473b 100644
--- a/Source/modules/filesystem/LocalFileSystem.h
+++ b/Source/modules/filesystem/LocalFileSystem.h
@@ -31,7 +31,6 @@
#ifndef LocalFileSystem_h
#define LocalFileSystem_h
-#include "core/page/Page.h"
#include "core/workers/WorkerClients.h"
#include "platform/FileSystemType.h"
#include "wtf/Forward.h"
@@ -43,12 +42,14 @@ class AsyncFileSystemCallbacks;
class CallbackWrapper;
class FileSystemClient;
class ExecutionContext;
+class KURL;
+class LocalFrame;
-class LocalFileSystem FINAL : public NoBaseWillBeGarbageCollectedFinalized<LocalFileSystem>, public WillBeHeapSupplement<Page>, public WillBeHeapSupplement<WorkerClients> {
zerny-chromium 2014/06/10 11:39:59 revert
+class LocalFileSystem FINAL : public NoBaseWillBeGarbageCollectedFinalized<LocalFileSystem>, public Supplement<LocalFrame>, public WillBeHeapSupplement<WorkerClients> {
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(LocalFileSystem);
WTF_MAKE_NONCOPYABLE(LocalFileSystem);
public:
- static PassOwnPtrWillBeRawPtr<LocalFileSystem> create(PassOwnPtr<FileSystemClient>);
zerny-chromium 2014/06/10 11:40:00 revert
+ static PassOwnPtr<LocalFileSystem> create(PassOwnPtr<FileSystemClient>);
virtual ~LocalFileSystem();
void resolveURL(ExecutionContext*, const KURL&, PassOwnPtr<AsyncFileSystemCallbacks>);
@@ -62,7 +63,6 @@ public:
virtual void trace(Visitor* visitor) OVERRIDE
{
- WillBeHeapSupplement<Page>::trace(visitor);
zerny-chromium 2014/06/10 11:40:00 revert
WillBeHeapSupplement<WorkerClients>::trace(visitor);
}

Powered by Google App Engine
This is Rietveld 408576698