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

Unified Diff: url/gurl.h

Issue 23460053: Allow tail to not be trimmed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | url/gurl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: url/gurl.h
diff --git a/url/gurl.h b/url/gurl.h
index 6af7d44a95d8a56f9c4008ce994264413a534d1c..232f9614b269299dfdc887396f81525a2d57f6ae 100644
--- a/url/gurl.h
+++ b/url/gurl.h
@@ -36,6 +36,8 @@ class URL_EXPORT GURL {
explicit GURL(const std::string& url_string /*, output_param_encoding*/);
explicit GURL(const base::string16& url_string /*, output_param_encoding*/);
+ enum TrimInputControl { NO_TRIM_TAIL, };
+ GURL(const std::string& url_string, TrimInputControl trim);
// Constructor for URLs that have already been parsed and canonicalized. This
// is used for conversions from KURL, for example. The caller must supply all
// information associated with the URL, which must be correct and consistent.
« no previous file with comments | « no previous file | url/gurl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698