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

Unified Diff: net/quic/platform/api/quic_str_cat_test.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.cc ('k') | net/quic/platform/api/quic_string_piece.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/platform/api/quic_str_cat_test.cc
diff --git a/net/quic/platform/api/quic_str_cat_test.cc b/net/quic/platform/api/quic_str_cat_test.cc
index 3064346952d1e4635c5a4343c152342df4502343..dc417d8e36767fcc287d6d95ef0a77ae781f4562 100644
--- a/net/quic/platform/api/quic_str_cat_test.cc
+++ b/net/quic/platform/api/quic_str_cat_test.cc
@@ -4,10 +4,9 @@
#include "net/quic/platform/api/quic_str_cat.h"
-#include "base/strings/string_piece.h"
+#include "net/quic/platform/api/quic_string_piece.h"
#include "testing/gtest/include/gtest/gtest.h"
-using base::StringPiece;
using std::string;
namespace net {
@@ -45,7 +44,7 @@ TEST(QuicStrCatTest, Basics) {
string strs[] = {"Hello", "Cruel", "World"};
- StringPiece pieces[] = {"Hello", "Cruel", "World"};
+ QuicStringPiece pieces[] = {"Hello", "Cruel", "World"};
const char* c_strs[] = {"Hello", "Cruel", "World"};
« no previous file with comments | « net/quic/platform/api/quic_hostname_utils.cc ('k') | net/quic/platform/api/quic_string_piece.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698