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

Unified Diff: third_party/WebKit/public/platform/Platform.h

Issue 1779413002: Remove Blink's DatabaseIdentifier implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unneeded include Created 4 years, 9 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
Index: third_party/WebKit/public/platform/Platform.h
diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h
index 0ecf774dba8e9e6d869e836dbefa46142871f22a..3b277e4d53a51697be7fbaf74a7b7c65646ce0f5 100644
--- a/third_party/WebKit/public/platform/Platform.h
+++ b/third_party/WebKit/public/platform/Platform.h
@@ -206,11 +206,13 @@ public:
virtual long long databaseGetFileSize(const WebString& vfsFileName) { return 0; }
// Returns the space available for the given origin
- virtual long long databaseGetSpaceAvailableForOrigin(const WebString& originIdentifier) { return 0; }
+ virtual long long databaseGetSpaceAvailableForOrigin(const WebSecurityOrigin& origin) { return 0; }
// Set the size of the given database file
virtual bool databaseSetFileSize(const WebString& vfsFileName, long long size) { return false; }
+ // Return a filename-friendly identifier for an origin.
+ virtual WebString databaseCreateOriginIdentifier(const WebSecurityOrigin& origin) { return WebString(); }
// DOM Storage --------------------------------------------------
@@ -223,6 +225,8 @@ public:
// Must return non-null.
virtual WebFileSystem* fileSystem() { return nullptr; }
+ // Return a filename-friendly identifier for an origin.
+ virtual WebString fileSystemCreateOriginIdentifier(const WebSecurityOrigin& origin) { return WebString(); }
// IDN conversion ------------------------------------------------------
« no previous file with comments | « third_party/WebKit/Source/web/WebDatabase.cpp ('k') | third_party/WebKit/public/platform/WebDatabaseObserver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698