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

Unified Diff: net/quic/platform/api/quic_url.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/api/quic_text_utils_test.cc ('k') | net/quic/platform/api/quic_url.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/platform/api/quic_url.h
diff --git a/net/quic/platform/api/quic_url.h b/net/quic/platform/api/quic_url.h
index 931fcbd0d9d89a8fba88180dabce5cc502db0dea..330d96d49c8ffdc86fcd7796aa46a81d20ee708a 100644
--- a/net/quic/platform/api/quic_url.h
+++ b/net/quic/platform/api/quic_url.h
@@ -6,6 +6,7 @@
#define NET_QUIC_PLATFORM_API_QUIC_URL_H_
#include "net/quic/platform/api/quic_export.h"
+#include "net/quic/platform/api/quic_string_piece.h"
#include "net/quic/platform/impl/quic_url_impl.h"
namespace net {
@@ -20,11 +21,11 @@ class QUIC_EXPORT_PRIVATE QuicUrl {
// 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 QuicUrl(base::StringPiece url);
+ explicit QuicUrl(QuicStringPiece url);
// Constructs a QuicUrl from |url|, assuming that the scheme for the QuicUrl
// is |default_scheme| if there is no scheme specified in |url|.
- QuicUrl(base::StringPiece url, base::StringPiece default_scheme);
+ QuicUrl(QuicStringPiece url, QuicStringPiece default_scheme);
QuicUrl(const QuicUrl& url);
« no previous file with comments | « net/quic/platform/api/quic_text_utils_test.cc ('k') | net/quic/platform/api/quic_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698