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

Unified Diff: src/url_util.h

Issue 564011: Remove the rule that "://" means a standard URL. This fixes a number of bugs... (Closed) Base URL: http://google-url.googlecode.com/svn/trunk/
Patch Set: '' Created 10 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
« no previous file with comments | « src/url_canon_stdurl.cc ('k') | src/url_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/url_util.h
===================================================================
--- src/url_util.h (revision 122)
+++ src/url_util.h (working copy)
@@ -70,12 +70,9 @@
}
// Returns true if the given string represents a standard URL. This means that
-// either the scheme is in the list of known standard schemes, or there is a
-// "://" following the scheme.
-bool IsStandard(const char* spec, int spec_len,
- const url_parse::Component& scheme);
-bool IsStandard(const char16* spec, int spec_len,
- const url_parse::Component& scheme);
+// either the scheme is in the list of known standard schemes.
+bool IsStandard(const char* spec, const url_parse::Component& scheme);
+bool IsStandard(const char16* spec, const url_parse::Component& scheme);
// URL library wrappers -------------------------------------------------------
« no previous file with comments | « src/url_canon_stdurl.cc ('k') | src/url_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698