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

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

Issue 1753403002: Move IsValidOriginIdentifier into appropriate header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: storage/common/database/database_identifier.h
diff --git a/storage/common/database/database_identifier.h b/storage/common/database/database_identifier.h
index a37e2ad76d0995379432bb2e2f604ab303c43513..b17f4eff232e7706960a6d51cce3283579c00744 100644
--- a/storage/common/database/database_identifier.h
+++ b/storage/common/database/database_identifier.h
@@ -17,6 +17,8 @@ STORAGE_COMMON_EXPORT std::string GetIdentifierFromOrigin(
const GURL& origin);
STORAGE_COMMON_EXPORT GURL GetOriginFromIdentifier(
const std::string& identifier);
+STORAGE_COMMON_EXPORT bool IsValidOriginIdentifier(
+ const std::string& identifier);
class STORAGE_COMMON_EXPORT DatabaseIdentifier {
public:

Powered by Google App Engine
This is Rietveld 408576698