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

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..d871048423fc119f3cbd348702ca94da295148fe 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,13 @@ class AsyncFileSystemCallbacks;
class CallbackWrapper;
class FileSystemClient;
class ExecutionContext;
+class KURL;
+class LocalFrame;
-class LocalFileSystem FINAL : public NoBaseWillBeGarbageCollectedFinalized<LocalFileSystem>, public WillBeHeapSupplement<Page>, public WillBeHeapSupplement<WorkerClients> {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(LocalFileSystem);
+class LocalFileSystem FINAL : public Supplement<LocalFrame>, public Supplement<WorkerClients> {
haraken 2014/06/07 02:33:16 Ian (or oilpan experts): WorkerClients is already
WTF_MAKE_NONCOPYABLE(LocalFileSystem);
public:
- static PassOwnPtrWillBeRawPtr<LocalFileSystem> create(PassOwnPtr<FileSystemClient>);
+ static PassOwnPtr<LocalFileSystem> create(PassOwnPtr<FileSystemClient>);
virtual ~LocalFileSystem();
void resolveURL(ExecutionContext*, const KURL&, PassOwnPtr<AsyncFileSystemCallbacks>);
@@ -62,7 +62,7 @@ public:
virtual void trace(Visitor* visitor) OVERRIDE
{
- WillBeHeapSupplement<Page>::trace(visitor);
+ WillBeHeapSupplement<LocalFrame>::trace(visitor);
sof 2014/06/06 20:32:41 s/WillBeHeapSupplement/Supplement/
WillBeHeapSupplement<WorkerClients>::trace(visitor);
sof 2014/06/06 20:32:41 s/WillBeHeapSupplement/Supplement/
}

Powered by Google App Engine
This is Rietveld 408576698