Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Unified Diff: net/quic/platform/impl/quic_hostname_utils_impl.cc

Issue 2740453006: Add QuicStringPiece which is actually StringPiece. (Closed)
Patch Set: fix compile error and rebase Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/platform/impl/quic_hostname_utils_impl.h ('k') | net/quic/platform/impl/quic_string_piece_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/platform/impl/quic_hostname_utils_impl.cc
diff --git a/net/quic/platform/impl/quic_hostname_utils_impl.cc b/net/quic/platform/impl/quic_hostname_utils_impl.cc
index 0dc8139034817271b1965574c0320a783ec37e43..040a724ce4f81980076ac50b4534771ad2402341 100644
--- a/net/quic/platform/impl/quic_hostname_utils_impl.cc
+++ b/net/quic/platform/impl/quic_hostname_utils_impl.cc
@@ -8,13 +8,12 @@
#include "url/gurl.h"
#include "url/url_canon.h"
-using base::StringPiece;
using std::string;
namespace net {
// static
-bool QuicHostnameUtilsImpl::IsValidSNI(StringPiece sni) {
+bool QuicHostnameUtilsImpl::IsValidSNI(QuicStringPiece sni) {
// TODO(rtenneti): Support RFC2396 hostname.
// NOTE: Microsoft does NOT enforce this spec, so if we throw away hostnames
// based on the above spec, we may be losing some hostnames that windows
« no previous file with comments | « net/quic/platform/impl/quic_hostname_utils_impl.h ('k') | net/quic/platform/impl/quic_string_piece_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698