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

Unified Diff: chrome/renderer/indexed_db_dispatcher.cc

Issue 3729003: Add plumbing for passing the indexed database quota via IDBFactory::open (Closed)
Patch Set: Address Jeremy's comments Created 10 years, 2 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 | « chrome/renderer/indexed_db_dispatcher.h ('k') | chrome/renderer/renderer_webidbfactory_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/indexed_db_dispatcher.cc
diff --git a/chrome/renderer/indexed_db_dispatcher.cc b/chrome/renderer/indexed_db_dispatcher.cc
index b04434fe109cd225c9ef8b58a6c887ccaddb8bf3..69ce63fea54f87c92f4263ca5a3ee77722cc163a 100644
--- a/chrome/renderer/indexed_db_dispatcher.cc
+++ b/chrome/renderer/indexed_db_dispatcher.cc
@@ -101,9 +101,12 @@ void IndexedDBDispatcher::RequestIDBCursorRemove(
}
void IndexedDBDispatcher::RequestIDBFactoryOpen(
- const string16& name, const string16& description,
- WebIDBCallbacks* callbacks_ptr, const string16& origin,
- WebFrame* web_frame) {
+ const string16& name,
+ const string16& description,
+ WebIDBCallbacks* callbacks_ptr,
+ const string16& origin,
+ WebFrame* web_frame,
+ uint64 maximum_size) {
scoped_ptr<WebIDBCallbacks> callbacks(callbacks_ptr);
if (!web_frame)
@@ -118,6 +121,7 @@ void IndexedDBDispatcher::RequestIDBFactoryOpen(
params.origin_ = origin;
params.name_ = name;
params.description_ = description;
+ params.maximum_size_ = maximum_size;
RenderThread::current()->Send(new ViewHostMsg_IDBFactoryOpen(params));
}
« no previous file with comments | « chrome/renderer/indexed_db_dispatcher.h ('k') | chrome/renderer/renderer_webidbfactory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698