| Index: net/quic/platform/api/quic_hostname_utils.h
|
| diff --git a/net/quic/platform/api/quic_hostname_utils.h b/net/quic/platform/api/quic_hostname_utils.h
|
| index 14adea03b3cc19085803e87b2ece576418690486..9c46d68356c6be25ea7f81329a25a285ca45af57 100644
|
| --- a/net/quic/platform/api/quic_hostname_utils.h
|
| +++ b/net/quic/platform/api/quic_hostname_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_hostname_utils_impl.h"
|
|
|
| namespace net {
|
| @@ -19,7 +20,7 @@ class QUIC_EXPORT_PRIVATE QuicHostnameUtils {
|
| // (1) disallow IP addresses;
|
| // (2) check that the hostname contains valid characters only; and
|
| // (3) contains at least one dot.
|
| - static bool IsValidSNI(base::StringPiece sni);
|
| + static bool IsValidSNI(QuicStringPiece sni);
|
|
|
| // Convert hostname to lowercase and remove the trailing '.'.
|
| // WARNING: mutates |hostname| in place and returns |hostname|.
|
|
|