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

Unified Diff: third_party/WebKit/Source/web/IndexedDBClientImpl.h

Issue 1823953002: Factor out setIndexedDBClientCreateFunction from blink::initialize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/WebKit.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 69e4bfd129f53dbc53116ae9df3f74fde1bd849f..04a85883e221829449f85d5642256577055a2b69 100644
--- a/third_party/WebKit/Source/web/IndexedDBClientImpl.h
+++ b/third_party/WebKit/Source/web/IndexedDBClientImpl.h
@@ -35,6 +35,12 @@ namespace blink {
class ExecutionContext;
+// TODO(haraken): Remove IndexedDBClientImpl.
+// This class is used to bypass the disallowed dependency from modules/ to web/
+// to call allowIndexedDB() from modules/. ChromeClient is a mechanism to bypass
+// the dependency but we cannot use ChromeClient here because
+// IndexedDBClientImpl is used by worker threads but ChromeClient works only
+// for the main thread.
class IndexedDBClientImpl final : public IndexedDBClient {
public:
static IndexedDBClient* create();
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/WebKit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698