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

Unified Diff: chrome/renderer/renderer_webidbfactory_impl.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/renderer_webidbfactory_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/renderer_webidbfactory_impl.cc
diff --git a/chrome/renderer/renderer_webidbfactory_impl.cc b/chrome/renderer/renderer_webidbfactory_impl.cc
index 776c6f1a4f2b3765846fe9db9609ec7154585faa..79f02ccb82348a5339af12bd0db8d34ba5167d23 100644
--- a/chrome/renderer/renderer_webidbfactory_impl.cc
+++ b/chrome/renderer/renderer_webidbfactory_impl.cc
@@ -24,12 +24,17 @@ RendererWebIDBFactoryImpl::~RendererWebIDBFactoryImpl() {
}
void RendererWebIDBFactoryImpl::open(
- const WebString& name, const WebString& description,
- WebIDBCallbacks* callbacks, const WebSecurityOrigin& origin,
- WebFrame* web_frame, const WebString& dataDir) {
+ const WebString& name,
+ const WebString& description,
+ WebIDBCallbacks* callbacks,
+ const WebSecurityOrigin& origin,
+ WebFrame* web_frame,
+ const WebString& dataDir,
+ uint64 maximum_size) {
// Don't send the dataDir. We know what we want on the Browser side of things.
IndexedDBDispatcher* dispatcher =
RenderThread::current()->indexed_db_dispatcher();
dispatcher->RequestIDBFactoryOpen(
- name, description, callbacks, origin.databaseIdentifier(), web_frame);
+ name, description, callbacks, origin.databaseIdentifier(), web_frame,
+ maximum_size);
}
« no previous file with comments | « chrome/renderer/renderer_webidbfactory_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698