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

Unified Diff: net/quic/platform/api/quic_hostname_utils.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/api/quic_hostname_utils.h ('k') | net/quic/platform/api/quic_str_cat_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/platform/api/quic_hostname_utils.cc
diff --git a/net/quic/platform/api/quic_hostname_utils.cc b/net/quic/platform/api/quic_hostname_utils.cc
index 0feceebaf3842f6c1bd53be9bc1d3af151f2e557..2f5e65dd96cfbf459348ab3ed0f1ae3ab9e83e87 100644
--- a/net/quic/platform/api/quic_hostname_utils.cc
+++ b/net/quic/platform/api/quic_hostname_utils.cc
@@ -4,13 +4,12 @@
#include "net/quic/platform/api/quic_hostname_utils.h"
-using base::StringPiece;
using std::string;
namespace net {
// static
-bool QuicHostnameUtils::IsValidSNI(StringPiece sni) {
+bool QuicHostnameUtils::IsValidSNI(QuicStringPiece sni) {
return QuicHostnameUtilsImpl::IsValidSNI(sni);
}
« no previous file with comments | « net/quic/platform/api/quic_hostname_utils.h ('k') | net/quic/platform/api/quic_str_cat_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698