Index: url_canon_ip.h |
diff --git a/url_canon_ip.h b/url_canon_ip.h |
index 19ecfdb4f069cf717ed1b8af579681951177cc05..937bd460f1087d577b0faae77f44b4c3285d5ecf 100644 |
--- a/url_canon_ip.h |
+++ b/url_canon_ip.h |
@@ -6,9 +6,9 @@ |
#define URL_URL_CANON_IP_H_ |
#include "base/strings/string16.h" |
+#include "url/third_party/mozilla/url_parse.h" |
#include "url/url_canon.h" |
#include "url/url_export.h" |
-#include "url/url_parse.h" |
namespace url { |
@@ -30,14 +30,14 @@ URL_EXPORT void AppendIPv6Address(const unsigned char address[16], |
// Not all components may exist. If there are only 3 components, for example, |
// the last one will have a length of -1 or 0 to indicate it does not exist. |
// |
-// Note that many platform's inet_addr will ignore everything after a space |
-// in certain curcumstances if the stuff before the space looks like an IP |
+// Note that many platforms' inet_addr will ignore everything after a space |
+// in certain circumstances if the stuff before the space looks like an IP |
// address. IE6 is included in this. We do NOT handle this case. In many cases, |
// the browser's canonicalization will get run before this which converts |
-// spaces to %20 (in the case of IE7) or rejects them (in the case of |
-// Mozilla), so this code path never gets hit. Our host canonicalization will |
-// notice these spaces and escape them, which will make IP address finding |
-// fail. This seems like better behavior than stripping after a space. |
+// spaces to %20 (in the case of IE7) or rejects them (in the case of Mozilla), |
+// so this code path never gets hit. Our host canonicalization will notice |
+// these spaces and escape them, which will make IP address finding fail. This |
+// seems like better behavior than stripping after a space. |
URL_EXPORT bool FindIPv4Components(const char* spec, |
const Component& host, |
Component components[4]); |