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

Unified Diff: net/quic/platform/api/quic_url_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_url_utils.h ('k') | net/quic/platform/impl/quic_hostname_utils_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/platform/api/quic_url_utils.cc
diff --git a/net/quic/platform/api/quic_url_utils.cc b/net/quic/platform/api/quic_url_utils.cc
index 4b2c33b561e4403e90565cac6a210c80e32942cf..304699a3eea9b2f4b75b62abd974eb28511bbef4 100644
--- a/net/quic/platform/api/quic_url_utils.cc
+++ b/net/quic/platform/api/quic_url_utils.cc
@@ -4,18 +4,17 @@
#include "net/quic/platform/api/quic_url_utils.h"
-using base::StringPiece;
using std::string;
namespace net {
// static
-string QuicUrlUtils::HostName(StringPiece url) {
+string QuicUrlUtils::HostName(QuicStringPiece url) {
return QuicUrlUtilsImpl::HostName(url);
}
// static
-bool QuicUrlUtils::IsValidUrl(StringPiece url) {
+bool QuicUrlUtils::IsValidUrl(QuicStringPiece url) {
return QuicUrlUtilsImpl::IsValidUrl(url);
}
« no previous file with comments | « net/quic/platform/api/quic_url_utils.h ('k') | net/quic/platform/impl/quic_hostname_utils_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698