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

Unified Diff: content/child/web_database_observer_impl.h

Issue 50883004: Decouple lifetime of database thread and WebDatabase, chromium side. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 | content/child/web_database_observer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/web_database_observer_impl.h
diff --git a/content/child/web_database_observer_impl.h b/content/child/web_database_observer_impl.h
index 67631a2f967a80c7fa4c21ba1f1b7a510acd51a2..e97f83e0548ee0bdfa45d6c2040608f2064badea 100644
--- a/content/child/web_database_observer_impl.h
+++ b/content/child/web_database_observer_impl.h
@@ -10,6 +10,10 @@
#include "third_party/WebKit/public/web/WebDatabaseObserver.h"
#include "webkit/common/database/database_connections.h"
+namespace WebKit {
+class WebString;
+}
+
namespace content {
class WebDatabaseObserverImpl : public WebKit::WebDatabaseObserver {
@@ -19,7 +23,10 @@ class WebDatabaseObserverImpl : public WebKit::WebDatabaseObserver {
virtual void databaseOpened(const WebKit::WebDatabase& database) OVERRIDE;
virtual void databaseModified(const WebKit::WebDatabase& database) OVERRIDE;
- virtual void databaseClosed(const WebKit::WebDatabase& database) OVERRIDE;
+ virtual void databaseClosed(const WebKit::WebString& origin_identifier,
+ const WebKit::WebString& database_name);
+ // TODO(jochen): Remove this version once the blink side has rolled.
+ virtual void databaseClosed(const WebKit::WebDatabase& database);
virtual void reportOpenDatabaseResult(
const WebKit::WebDatabase& database, int callsite,
« no previous file with comments | « no previous file | content/child/web_database_observer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698