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

Side by Side Diff: url/url_canon_ip.h

Issue 1152373003: url: Fix the TODO in url_parse.h header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 unified diff | Download patch
« no previous file with comments | « url/url_canon.h ('k') | url/url_canon_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef URL_URL_CANON_IP_H_ 5 #ifndef URL_URL_CANON_IP_H_
6 #define URL_URL_CANON_IP_H_ 6 #define URL_URL_CANON_IP_H_
7 7
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "url/third_party/mozilla/url_parse.h"
9 #include "url/url_canon.h" 10 #include "url/url_canon.h"
10 #include "url/url_export.h" 11 #include "url/url_export.h"
11 #include "url/url_parse.h"
12 12
13 namespace url { 13 namespace url {
14 14
15 // Writes the given IPv4 address to |output|. 15 // Writes the given IPv4 address to |output|.
16 URL_EXPORT void AppendIPv4Address(const unsigned char address[4], 16 URL_EXPORT void AppendIPv4Address(const unsigned char address[4],
17 CanonOutput* output); 17 CanonOutput* output);
18 18
19 // Writes the given IPv6 address to |output|. 19 // Writes the given IPv6 address to |output|.
20 URL_EXPORT void AppendIPv6Address(const unsigned char address[16], 20 URL_EXPORT void AppendIPv6Address(const unsigned char address[16],
21 CanonOutput* output); 21 CanonOutput* output);
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 URL_EXPORT bool IPv6AddressToNumber(const char* spec, 73 URL_EXPORT bool IPv6AddressToNumber(const char* spec,
74 const Component& host, 74 const Component& host,
75 unsigned char address[16]); 75 unsigned char address[16]);
76 URL_EXPORT bool IPv6AddressToNumber(const base::char16* spec, 76 URL_EXPORT bool IPv6AddressToNumber(const base::char16* spec,
77 const Component& host, 77 const Component& host,
78 unsigned char address[16]); 78 unsigned char address[16]);
79 79
80 } // namespace url 80 } // namespace url
81 81
82 #endif // URL_URL_CANON_IP_H_ 82 #endif // URL_URL_CANON_IP_H_
OLDNEW
« no previous file with comments | « url/url_canon.h ('k') | url/url_canon_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698