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

Unified Diff: net/base/registry_controlled_domain.h

Issue 6898026: Eliminate wstring from base/utf_offset_string_conversions.h, net/base/escape.h, and net/base/net_... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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: net/base/registry_controlled_domain.h
===================================================================
--- net/base/registry_controlled_domain.h (revision 82762)
+++ net/base/registry_controlled_domain.h (working copy)
@@ -155,7 +155,6 @@
// Like the GURL version, but takes a host (which is canonicalized internally)
// instead of a full GURL.
static std::string GetDomainAndRegistry(const std::string& host);
- static std::string GetDomainAndRegistry(const std::wstring& host);
// This convenience function returns true if the two GURLs both have hosts
// and one of the following is true:
@@ -195,8 +194,6 @@
// instead of a full GURL.
static size_t GetRegistryLength(const std::string& host,
bool allow_unknown_registries);
- static size_t GetRegistryLength(const std::wstring& host,
- bool allow_unknown_registries);
// Returns the singleton instance, after attempting to initialize it.
// NOTE that if the effective-TLD data resource can't be found, the instance

Powered by Google App Engine
This is Rietveld 408576698