| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "platform/network/NetworkUtils.h" | 5 #include "platform/network/NetworkUtils.h" |
| 6 | 6 |
| 7 #include "components/mime_util/mime_util.h" | 7 #include "components/mime_util/mime_util.h" |
| 8 #include "net/base/data_url.h" | 8 #include "net/base/data_url.h" |
| 9 #include "net/base/ip_address.h" | 9 #include "net/base/ip_address.h" |
| 10 #include "net/base/net_errors.h" | 10 #include "net/base/net_errors.h" |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 &utf8_charset, nullptr)) { | 112 &utf8_charset, nullptr)) { |
| 113 return mime_util::IsSupportedMimeType(utf8_mime_type); | 113 return mime_util::IsSupportedMimeType(utf8_mime_type); |
| 114 } | 114 } |
| 115 return false; | 115 return false; |
| 116 } | 116 } |
| 117 | 117 |
| 118 bool IsRedirectResponseCode(int response_code) { | 118 bool IsRedirectResponseCode(int response_code) { |
| 119 return net::HttpResponseHeaders::IsRedirectResponseCode(response_code); | 119 return net::HttpResponseHeaders::IsRedirectResponseCode(response_code); |
| 120 } | 120 } |
| 121 | 121 |
| 122 } // NetworkUtils | 122 } // namespace NetworkUtils |
| 123 | 123 |
| 124 } // namespace blink | 124 } // namespace blink |
| OLD | NEW |