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

Unified Diff: third_party/WebKit/Source/web/IndexedDBClientImpl.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/web/IndexedDBClientImpl.h
diff --git a/third_party/WebKit/Source/web/IndexedDBClientImpl.h b/third_party/WebKit/Source/web/IndexedDBClientImpl.h
index bebb73e760b67e3f90bc3433d6096056fb6e1a60..6a03f58171ace2725f9cd7076d6b7ac73e2555b4 100644
--- a/third_party/WebKit/Source/web/IndexedDBClientImpl.h
+++ b/third_party/WebKit/Source/web/IndexedDBClientImpl.h
@@ -42,12 +42,14 @@ class ExecutionContext;
// for the main thread.
class IndexedDBClientImpl final : public IndexedDBClient {
public:
- static IndexedDBClient* create();
+ static IndexedDBClient* create(LocalFrame&);
+ static IndexedDBClient* create(WorkerClients&);
bool allowIndexedDB(ExecutionContext*, const String& name) override;
private:
- IndexedDBClientImpl() {}
+ explicit IndexedDBClientImpl(LocalFrame&);
+ explicit IndexedDBClientImpl(WorkerClients&);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698