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

Unified Diff: src/url_canon_unittest.cc

Issue 8974033: Fix the GURL change [compile error, two small changes to make things safe while (Closed) Base URL: http://google-url.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 12 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/gurl.cc ('k') | src/url_parse.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/url_canon_unittest.cc
===================================================================
--- src/url_canon_unittest.cc (revision 166)
+++ src/url_canon_unittest.cc (working copy)
@@ -2032,6 +2032,7 @@
// Filesystem URL tests; filesystem URLs are only valid and relative if
// they have no scheme, e.g. "./index.html". There's no valid equivalent
// to http:index.html.
+#ifdef FULL_FILESYSTEM_URL_SUPPORT
{"filesystem:http://host/t/path", true, false, "filesystem:http://host/t/path2", true, false, false, NULL},
{"filesystem:http://host/t/path", true, false, "filesystem:https://host/t/path2", true, false, false, NULL},
{"filesystem:http://host/t/path", true, false, "http://host/t/path2", true, false, false, NULL},
@@ -2039,6 +2040,7 @@
{"filesystem:http://host/t/path", true, false, "./path2", true, true, true, "filesystem:http://host/t/path2"},
{"filesystem:http://host/t/path/", true, false, "path2", true, true, true, "filesystem:http://host/t/path/path2"},
{"filesystem:http://host/t/path", true, false, "filesystem:http:path2", true, false, false, NULL},
+#endif
};
for (size_t i = 0; i < ARRAYSIZE(rel_cases); i++) {
« no previous file with comments | « src/gurl.cc ('k') | src/url_parse.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698