| Index: net/quic/platform/api/quic_url_utils.h
|
| diff --git a/net/quic/platform/api/quic_url_utils.h b/net/quic/platform/api/quic_url_utils.h
|
| index 022e041be99818e0c3645fd27ae6b71177dbacd1..d857ba519f94451b26ff8607020346b7f402ac12 100644
|
| --- a/net/quic/platform/api/quic_url_utils.h
|
| +++ b/net/quic/platform/api/quic_url_utils.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "net/quic/platform/api/quic_export.h"
|
| +#include "net/quic/platform/api/quic_string_piece.h"
|
| #include "net/quic/platform/impl/quic_url_utils_impl.h"
|
|
|
| namespace net {
|
| @@ -14,12 +15,12 @@ namespace net {
|
| class QUIC_EXPORT_PRIVATE QuicUrlUtils {
|
| 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(QuicUrlUtils);
|
|
|