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

Unified Diff: chrome/browser/net/url_fixer_upper_unittest.cc

Issue 7064052: Revert 88142 to fix sync_integration_tests offline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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 | « chrome/browser/net/url_fixer_upper.cc ('k') | chrome/browser/net/view_blob_internals_job_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/net/url_fixer_upper_unittest.cc
===================================================================
--- chrome/browser/net/url_fixer_upper_unittest.cc (revision 88158)
+++ chrome/browser/net/url_fixer_upper_unittest.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -57,52 +57,12 @@
url_parse::Component(0, 5), // scheme
url_parse::Component(), // username
url_parse::Component(), // password
- url_parse::Component(6, 7), // host
+ url_parse::Component(), // host
url_parse::Component(), // port
url_parse::Component(), // path
url_parse::Component(), // query
url_parse::Component(), // ref
},
- { "about:host/path?query#ref", "about",
- url_parse::Component(0, 5), // scheme
- url_parse::Component(), // username
- url_parse::Component(), // password
- url_parse::Component(6, 4), // host
- url_parse::Component(), // port
- url_parse::Component(10, 5), // path
- url_parse::Component(16, 5), // query
- url_parse::Component(22, 3), // ref
- },
- { "about://host/path?query#ref", "about",
- url_parse::Component(0, 5), // scheme
- url_parse::Component(), // username
- url_parse::Component(), // password
- url_parse::Component(8, 4), // host
- url_parse::Component(), // port
- url_parse::Component(12, 5), // path
- url_parse::Component(18, 5), // query
- url_parse::Component(24, 3), // ref
- },
- { "chrome:host/path?query#ref", "chrome",
- url_parse::Component(0, 6), // scheme
- url_parse::Component(), // username
- url_parse::Component(), // password
- url_parse::Component(7, 4), // host
- url_parse::Component(), // port
- url_parse::Component(11, 5), // path
- url_parse::Component(17, 5), // query
- url_parse::Component(23, 3), // ref
- },
- { "chrome://host/path?query#ref", "chrome",
- url_parse::Component(0, 6), // scheme
- url_parse::Component(), // username
- url_parse::Component(), // password
- url_parse::Component(9, 4), // host
- url_parse::Component(), // port
- url_parse::Component(13, 5), // path
- url_parse::Component(19, 5), // query
- url_parse::Component(25, 3), // ref
- },
{ " www.google.com:124?foo#", "http",
url_parse::Component(), // scheme
url_parse::Component(), // username
@@ -258,13 +218,8 @@
{"http://host.com:ninety-two/", "", "http://host.com:ninety-two/"},
{"http://host.com:ninety-two?foo", "", "http://host.com:ninety-two/?foo"},
{"google.com:123", "", "http://google.com:123/"},
- {"about:", "", "chrome://version/"},
- {"about:foo", "", "chrome://foo/"},
- {"about:version", "", "chrome://version/"},
- {"about:usr:pwd@hst/pth?qry#ref", "", "chrome://usr:pwd@hst/pth?qry#ref"},
- {"about://usr:pwd@hst/pth?qry#ref", "", "chrome://usr:pwd@hst/pth?qry#ref"},
- {"chrome:usr:pwd@hst/pth?qry#ref", "", "chrome://usr:pwd@hst/pth?qry#ref"},
- {"chrome://usr:pwd@hst/pth?qry#ref", "", "chrome://usr:pwd@hst/pth?qry#ref"},
+ {"about:", "", "about:"},
+ {"about:version", "", "about:version"},
{"www:123", "", "http://www:123/"},
{" www:123", "", "http://www:123/"},
{"www.google.com?foo", "", "http://www.google.com/?foo"},
« no previous file with comments | « chrome/browser/net/url_fixer_upper.cc ('k') | chrome/browser/net/view_blob_internals_job_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698