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

Unified Diff: net/spdy/spdy_deframer_visitor_test.cc

Issue 2801603003: Add SpdyString alias for std::string in net/spdy. (Closed)
Patch Set: Created 3 years, 8 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/spdy/spdy_deframer_visitor.cc ('k') | net/spdy/spdy_frame_builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_deframer_visitor_test.cc
diff --git a/net/spdy/spdy_deframer_visitor_test.cc b/net/spdy/spdy_deframer_visitor_test.cc
index 06baf4129e16022c3ee9bf42143a1145331c42ea..885062d54eb8ef7e05d0c3c0b33c8e37bacaa66f 100644
--- a/net/spdy/spdy_deframer_visitor_test.cc
+++ b/net/spdy/spdy_deframer_visitor_test.cc
@@ -5,7 +5,6 @@
#include "net/spdy/spdy_deframer_visitor.h"
#include <stdlib.h>
-#include <string.h>
#include <algorithm>
#include <limits>
@@ -22,7 +21,6 @@
#include "net/spdy/spdy_test_utils.h"
using ::base::MakeUnique;
-using ::std::string;
namespace net {
namespace test {
@@ -66,9 +64,9 @@ class SpdyDeframerVisitorTest : public ::testing::Test {
return encoder_.SerializeFrame(frame);
}
- string SerializeFrames(
+ SpdyString SerializeFrames(
const std::vector<std::unique_ptr<SpdyFrameIR>>& frames) {
- string result;
+ SpdyString result;
for (const auto& frame_ptr : frames) {
auto sf = SerializeFrame(*frame_ptr);
result.append(sf.data(), sf.size());
« no previous file with comments | « net/spdy/spdy_deframer_visitor.cc ('k') | net/spdy/spdy_frame_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698