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

Unified Diff: net/quic/platform/impl/quic_url_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_url_impl.h ('k') | net/quic/platform/impl/quic_url_utils_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_url_impl.cc
diff --git a/net/quic/platform/impl/quic_url_impl.cc b/net/quic/platform/impl/quic_url_impl.cc
index 76f5a540cd80e7efef438cac8200ac8ffb57df6b..81f67606fe3cd80405259c5a3c11971de5809920 100644
--- a/net/quic/platform/impl/quic_url_impl.cc
+++ b/net/quic/platform/impl/quic_url_impl.cc
@@ -6,14 +6,13 @@
#include "net/quic/platform/api/quic_text_utils.h"
-using base::StringPiece;
using std::string;
namespace net {
-QuicUrlImpl::QuicUrlImpl(StringPiece url) : url_(url) {}
+QuicUrlImpl::QuicUrlImpl(QuicStringPiece url) : url_(url) {}
-QuicUrlImpl::QuicUrlImpl(StringPiece url, StringPiece default_scheme)
+QuicUrlImpl::QuicUrlImpl(QuicStringPiece url, QuicStringPiece default_scheme)
: url_(url) {
if (url_.has_scheme()) {
return;
« no previous file with comments | « net/quic/platform/impl/quic_url_impl.h ('k') | net/quic/platform/impl/quic_url_utils_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698