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

Unified Diff: third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp

Issue 2822453003: Wrap large IndexedDB values into Blobs before writing to LevelDB. (Closed)
Patch Set: Fixed Windows compilation. Created 3 years, 7 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/indexeddb/IDBFactory.cpp
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp b/third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp
index b7faa3372f39b3d8a2e38623fa388a45d3867754..29c07634f929ebda4159350a7446af38d35ce624 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBFactory.cpp
@@ -82,7 +82,7 @@ IDBRequest* IDBFactory::GetDatabaseNames(ScriptState* script_state,
if (!IndexedDBClient::From(ExecutionContext::From(script_state))
->AllowIndexedDB(ExecutionContext::From(script_state),
"Database Listing")) {
- request->EnqueueResponse(
+ request->HandleResponse(
DOMException::Create(kUnknownError, kPermissionDeniedErrorMessage));
return request;
}
@@ -129,7 +129,7 @@ IDBOpenDBRequest* IDBFactory::OpenInternal(ScriptState* script_state,
if (!IndexedDBClient::From(ExecutionContext::From(script_state))
->AllowIndexedDB(ExecutionContext::From(script_state), name)) {
- request->EnqueueResponse(
+ request->HandleResponse(
DOMException::Create(kUnknownError, kPermissionDeniedErrorMessage));
return request;
}
@@ -188,7 +188,7 @@ IDBOpenDBRequest* IDBFactory::DeleteDatabaseInternal(
if (!IndexedDBClient::From(ExecutionContext::From(script_state))
->AllowIndexedDB(ExecutionContext::From(script_state), name)) {
- request->EnqueueResponse(
+ request->HandleResponse(
DOMException::Create(kUnknownError, kPermissionDeniedErrorMessage));
return request;
}

Powered by Google App Engine
This is Rietveld 408576698