Chromium Code Reviews| Index: chrome/browser/net/url_fixer_upper.h |
| diff --git a/chrome/browser/net/url_fixer_upper.h b/chrome/browser/net/url_fixer_upper.h |
| index e6096bb4cf9569445e3e20060b5df92a83e7e2e5..c231171e0d4fc6d73eac8b1ea3586909c34e6399 100644 |
| --- a/chrome/browser/net/url_fixer_upper.h |
| +++ b/chrome/browser/net/url_fixer_upper.h |
| @@ -1,4 +1,4 @@ |
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| +// Copyright (c) 2011 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. |
| @@ -41,6 +41,11 @@ namespace URLFixerUpper { |
| // be valid, so check the return value's validity or use |
| // possibly_invalid_spec(). |
| // |
| + // Schemes "about" and "chrome" are 'normalized' to "chrome://", with slashes. |
|
eroman
2011/06/07 00:24:05
nit: please remove single quotes from normalized.
msw
2011/06/07 00:55:32
Done.
|
| + // "about:blank" is unaltered, as Webkit allows frames to access about:blank. |
| + // Additionally, if a chrome URL does not have a valid host, as in "about:", |
| + // the returned URL will have the host "version", as in "chrome://version". |
| + // |
| // If |desired_tld| is non-empty, it represents the TLD the user wishes to |
| // append in the case of an incomplete domain. We check that this is not a |
| // file path and there does not appear to be a valid TLD already, then append |