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

Unified Diff: net/quic/platform/impl/quic_url_impl.h

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_text_utils_impl.h ('k') | net/quic/platform/impl/quic_url_impl.cc » ('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.h
diff --git a/net/quic/platform/impl/quic_url_impl.h b/net/quic/platform/impl/quic_url_impl.h
index bb688a9cc1d728788f514a1256b22b5237c50108..7e5cb5be14d539eac58df5280fdfd91308028783 100644
--- a/net/quic/platform/impl/quic_url_impl.h
+++ b/net/quic/platform/impl/quic_url_impl.h
@@ -6,6 +6,7 @@
#define NET_QUIC_PLATFORM_IMPL_QUIC_URL_IMPL_H_
#include "net/quic/platform/api/quic_export.h"
+#include "net/quic/platform/api/quic_string_piece.h"
#include "url/gurl.h"
namespace net {
@@ -21,11 +22,11 @@ class QUIC_EXPORT_PRIVATE QuicUrlImpl {
// NOTE: If |url| doesn't have a scheme, it will have an empty scheme
// field. If that's not what you want, use the QuicUrlImpl(url,
// default_scheme) form below.
- explicit QuicUrlImpl(base::StringPiece url);
+ explicit QuicUrlImpl(QuicStringPiece url);
// Constructs a QuicUrlImpl from |url|, assuming that the scheme for the URL
// is |default_scheme| if there is no scheme specified in |url|.
- QuicUrlImpl(base::StringPiece url, base::StringPiece default_scheme);
+ QuicUrlImpl(QuicStringPiece url, QuicStringPiece default_scheme);
QuicUrlImpl(const QuicUrlImpl& url);
« no previous file with comments | « net/quic/platform/impl/quic_text_utils_impl.h ('k') | net/quic/platform/impl/quic_url_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698