| Index: net/quic/platform/impl/quic_url_utils_impl.h
|
| diff --git a/net/quic/platform/impl/quic_url_utils_impl.h b/net/quic/platform/impl/quic_url_utils_impl.h
|
| index 31fbfec32ed811708904ab5ae1e3447cd5157281..6db0abb3b9eb40a29d6e68c63fc0836ff036eda3 100644
|
| --- a/net/quic/platform/impl/quic_url_utils_impl.h
|
| +++ b/net/quic/platform/impl/quic_url_utils_impl.h
|
| @@ -6,21 +6,21 @@
|
| #define NET_QUIC_PLATFORM_IMPL_QUIC_URL_UTILS_IMPL_H_
|
|
|
| #include "base/macros.h"
|
| -#include "base/strings/string_piece.h"
|
| #include "net/quic/core/quic_server_id.h"
|
| #include "net/quic/platform/api/quic_export.h"
|
| +#include "net/quic/platform/api/quic_string_piece.h"
|
|
|
| namespace net {
|
|
|
| class QUIC_EXPORT_PRIVATE QuicUrlUtilsImpl {
|
| public:
|
| // Returns hostname, or empty std::string if missing.
|
| - static std::string HostName(base::StringPiece url);
|
| + static std::string HostName(QuicStringPiece url);
|
|
|
| // Returns false if any of these conditions occur: (1) Host name too long; (2)
|
| // Invalid characters in host name, path or params; (3) Invalid port number
|
| // (e.g. greater than 65535).
|
| - static bool IsValidUrl(base::StringPiece url);
|
| + static bool IsValidUrl(QuicStringPiece url);
|
|
|
| private:
|
| DISALLOW_COPY_AND_ASSIGN(QuicUrlUtilsImpl);
|
|
|