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

Unified Diff: src/gurl.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 | « no previous file | src/gurl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gurl.h
===================================================================
--- src/gurl.h (revision 122)
+++ src/gurl.h (working copy)
@@ -204,9 +204,9 @@
GURL GetOrigin() const;
// Returns true if the scheme for the current URL is a known "standard"
- // scheme or there is a "://" after it. Standard schemes have an authority
- // and a path section. This includes file:, which some callers may want to
- // filter out explicitly by calling SchemeIsFile.
+ // scheme. Standard schemes have an authority and a path section. This
+ // includes file:, which some callers may want to filter out explicitly by
+ // calling SchemeIsFile.
bool IsStandard() const;
// Returns true if the given parameter (should be lower-case ASCII to match
« no previous file with comments | « no previous file | src/gurl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698