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

Unified Diff: webkit/common/database/database_identifier.h

Issue 16879013: Use chromium logic for database identifier<->origin conversions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove webkit/base/origin_url_conversions Created 7 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 | « webkit/browser/fileapi/obfuscated_file_util.cc ('k') | webkit/common/database/database_identifier.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/database/database_identifier.h
diff --git a/webkit/common/database/database_identifier.h b/webkit/common/database/database_identifier.h
index 0d735c6f852814b8991ae73eaf0bccea48bcbc2f..dd261f00e1786c4a24b09d972e97b2b7bbf1b94f 100644
--- a/webkit/common/database/database_identifier.h
+++ b/webkit/common/database/database_identifier.h
@@ -11,6 +11,11 @@
namespace webkit_database {
+WEBKIT_STORAGE_COMMON_EXPORT std::string GetIdentifierFromOrigin(
+ const GURL& origin);
+WEBKIT_STORAGE_COMMON_EXPORT GURL GetOriginFromIdentifier(
+ const std::string& identifier);
+
class WEBKIT_STORAGE_COMMON_EXPORT DatabaseIdentifier {
public:
static const DatabaseIdentifier UniqueFileIdentifier();
« no previous file with comments | « webkit/browser/fileapi/obfuscated_file_util.cc ('k') | webkit/common/database/database_identifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698