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

Unified Diff: chrome/browser/renderer_host/database_dispatcher_host.h

Issue 507014: Adding methods that will be used by the quota management UI.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 12 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 | chrome/browser/renderer_host/database_dispatcher_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/database_dispatcher_host.h
===================================================================
--- chrome/browser/renderer_host/database_dispatcher_host.h (revision 35502)
+++ chrome/browser/renderer_host/database_dispatcher_host.h (working copy)
@@ -10,6 +10,7 @@
#include "base/ref_counted.h"
#include "base/string16.h"
#include "ipc/ipc_message.h"
+#include "webkit/database/database_connections.h"
#include "webkit/database/database_tracker.h"
class DatabaseDispatcherHost
@@ -81,9 +82,6 @@
void DatabaseClosed(const string16& origin_identifier,
const string16& database_name);
- void AddAccessedOrigin(const string16& origin_identifier);
- bool HasAccessedOrigin(const string16& origin_identifier);
-
// The database tracker for the current profile.
scoped_refptr<webkit_database::DatabaseTracker> db_tracker_;
@@ -102,7 +100,8 @@
// only when the corresponding renderer process is about to go away.
bool shutdown_;
- base::hash_set<string16> accessed_origins_;
+ // Keeps track of all DB connections opened by this renderer
+ webkit_database::DatabaseConnections database_connections_;
};
#endif // CHROME_BROWSER_RENDERER_HOST_DATABASE_DISPATCHER_HOST_H_
« no previous file with comments | « no previous file | chrome/browser/renderer_host/database_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698