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

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

Issue 2614143002: Use a new Supplement constructor for LocalFrame's supplements (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/modules/filesystem/LocalFileSystem.h
diff --git a/third_party/WebKit/Source/modules/filesystem/LocalFileSystem.h b/third_party/WebKit/Source/modules/filesystem/LocalFileSystem.h
index 73a96172aa5285d54aea0790578effea67b31094..c78c1b7cd555b6ff9b26a4ad3270b86e523cbe8c 100644
--- a/third_party/WebKit/Source/modules/filesystem/LocalFileSystem.h
+++ b/third_party/WebKit/Source/modules/filesystem/LocalFileSystem.h
@@ -56,7 +56,8 @@ class LocalFileSystem final : public GarbageCollectedFinalized<LocalFileSystem>,
WTF_MAKE_NONCOPYABLE(LocalFileSystem);
public:
- static LocalFileSystem* create(std::unique_ptr<FileSystemClient>);
+ LocalFileSystem(LocalFrame&, std::unique_ptr<FileSystemClient>);
+ LocalFileSystem(WorkerClients&, std::unique_ptr<FileSystemClient>);
~LocalFileSystem();
void resolveURL(ExecutionContext*,
@@ -78,8 +79,6 @@ class LocalFileSystem final : public GarbageCollectedFinalized<LocalFileSystem>,
DECLARE_VIRTUAL_TRACE();
private:
- explicit LocalFileSystem(std::unique_ptr<FileSystemClient>);
-
WebFileSystem* getFileSystem() const;
void fileSystemNotAvailable(ExecutionContext*, CallbackWrapper*);

Powered by Google App Engine
This is Rietveld 408576698