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

Unified Diff: webkit/base/origin_url_conversions.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 | « content/browser/renderer_host/database_message_filter.cc ('k') | webkit/base/origin_url_conversions.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/base/origin_url_conversions.h
diff --git a/webkit/base/origin_url_conversions.h b/webkit/base/origin_url_conversions.h
deleted file mode 100644
index c7dcfcdf4a47fcb74d4964ca307afbad5be0d5fa..0000000000000000000000000000000000000000
--- a/webkit/base/origin_url_conversions.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WEBKIT_BASE_ORIGIN_URL_CONVERSIONS_H_
-#define WEBKIT_BASE_ORIGIN_URL_CONVERSIONS_H_
-
-#include <string>
-#include "webkit/base/webkit_base_export.h"
-
-class GURL;
-
-namespace webkit_base {
-
-// Returns the origin url for the given |identifier| and vice versa.
-// The origin identifier string is a serialized form of a security origin
-// and can be used as a path name as it contains no "/" or other possibly
-// unsafe characters. (See WebKit's SecurityOrigin code for more details.)
-//
-// Example:
-// "http://www.example.com:80/"'s identifier should look like:
-// "http_www.example.host_80"
-WEBKIT_BASE_EXPORT GURL GetOriginURLFromIdentifier(
- const std::string& identifier);
-
-WEBKIT_BASE_EXPORT std::string GetOriginIdentifierFromURL(const GURL& url);
-
-} // namespace webkit_base
-
-#endif // WEBKIT_BASE_ORIGIN_URL_CONVERSIONS_H_
« no previous file with comments | « content/browser/renderer_host/database_message_filter.cc ('k') | webkit/base/origin_url_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698