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

Unified Diff: content/child/db_message_filter.h

Issue 1832473002: WebSQL: Use url::Origin rather than database identifiers for IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 6 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 | « content/child/database_util.cc ('k') | content/child/db_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/db_message_filter.h
diff --git a/content/child/db_message_filter.h b/content/child/db_message_filter.h
index fb1875e2646853dd17b78a0954b55c312c0b36ff..55cc2a72565c05c1feed0eb9ad5f37720a54478b 100644
--- a/content/child/db_message_filter.h
+++ b/content/child/db_message_filter.h
@@ -10,6 +10,10 @@
#include "base/strings/string16.h"
#include "ipc/message_filter.h"
+namespace url {
+class Origin;
+} // namespace url
+
namespace content {
// Receives database messages from the browser process and processes them on the
@@ -25,13 +29,13 @@ class DBMessageFilter : public IPC::MessageFilter {
~DBMessageFilter() override {}
private:
- void OnDatabaseUpdateSize(const std::string& origin_identifier,
+ void OnDatabaseUpdateSize(const url::Origin& origin,
const base::string16& database_name,
int64_t database_size);
- void OnDatabaseUpdateSpaceAvailable(const std::string& origin_identifier,
+ void OnDatabaseUpdateSpaceAvailable(const url::Origin& origin,
int64_t space_available);
- void OnDatabaseResetSpaceAvailable(const std::string& origin_identifier);
- void OnDatabaseCloseImmediately(const std::string& origin_identifier,
+ void OnDatabaseResetSpaceAvailable(const url::Origin& origin);
+ void OnDatabaseCloseImmediately(const url::Origin& origin,
const base::string16& database_name);
};
« no previous file with comments | « content/child/database_util.cc ('k') | content/child/db_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698