OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "net/base/net_util.h" | 5 #include "net/base/net_util.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <map> | 8 #include <map> |
9 #include <unicode/ucnv.h> | 9 #include <unicode/ucnv.h> |
10 #include <unicode/uidna.h> | 10 #include <unicode/uidna.h> |
(...skipping 26 matching lines...) Expand all Loading... |
37 #include "base/logging.h" | 37 #include "base/logging.h" |
38 #include "base/message_loop.h" | 38 #include "base/message_loop.h" |
39 #include "base/path_service.h" | 39 #include "base/path_service.h" |
40 #include "base/singleton.h" | 40 #include "base/singleton.h" |
41 #include "base/stl_util-inl.h" | 41 #include "base/stl_util-inl.h" |
42 #include "base/string_piece.h" | 42 #include "base/string_piece.h" |
43 #include "base/string_tokenizer.h" | 43 #include "base/string_tokenizer.h" |
44 #include "base/string_util.h" | 44 #include "base/string_util.h" |
45 #include "base/sys_string_conversions.h" | 45 #include "base/sys_string_conversions.h" |
46 #include "base/time.h" | 46 #include "base/time.h" |
47 #include "base/utf_string_conversions.h" | 47 #include "base/utf_offset_string_conversions.h" |
48 #include "grit/net_resources.h" | 48 #include "grit/net_resources.h" |
49 #include "googleurl/src/gurl.h" | 49 #include "googleurl/src/gurl.h" |
50 #include "googleurl/src/url_canon.h" | 50 #include "googleurl/src/url_canon.h" |
51 #include "googleurl/src/url_parse.h" | 51 #include "googleurl/src/url_parse.h" |
52 #include "net/base/escape.h" | 52 #include "net/base/escape.h" |
53 #include "net/base/net_module.h" | 53 #include "net/base/net_module.h" |
54 #if defined(OS_WIN) | 54 #if defined(OS_WIN) |
55 #include "net/base/winsock_init.h" | 55 #include "net/base/winsock_init.h" |
56 #endif | 56 #endif |
57 #include "net/base/base64.h" | 57 #include "net/base/base64.h" |
(...skipping 1484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1542 if (length > 0) | 1542 if (length > 0) |
1543 ports.insert(StringToInt(WideToASCII( | 1543 ports.insert(StringToInt(WideToASCII( |
1544 allowed_ports.substr(last, length)))); | 1544 allowed_ports.substr(last, length)))); |
1545 last = i + 1; | 1545 last = i + 1; |
1546 } | 1546 } |
1547 } | 1547 } |
1548 explicitly_allowed_ports = ports; | 1548 explicitly_allowed_ports = ports; |
1549 } | 1549 } |
1550 | 1550 |
1551 } // namespace net | 1551 } // namespace net |
OLD | NEW |