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

Side by Side Diff: net/tools/quic/quic_in_memory_cache_test.cc

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « net/tools/quic/quic_client_bin.cc ('k') | net/tools/quic/quic_simple_client_bin.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <string> 5 #include <string>
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/memory/singleton.h" 8 #include "base/memory/singleton.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
11 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 #include "base/strings/string_piece.h" 12 #include "base/strings/string_piece.h"
13 #include "base/strings/stringprintf.h"
14 #include "net/spdy/spdy_framer.h" 13 #include "net/spdy/spdy_framer.h"
15 #include "net/tools/quic/quic_in_memory_cache.h" 14 #include "net/tools/quic/quic_in_memory_cache.h"
16 #include "net/tools/quic/test_tools/quic_in_memory_cache_peer.h" 15 #include "net/tools/quic/test_tools/quic_in_memory_cache_peer.h"
17 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
18 17
19 using base::ContainsKey; 18 using base::ContainsKey;
20 using base::IntToString; 19 using base::IntToString;
21 using base::StringPiece; 20 using base::StringPiece;
22 using net::SpdyHeaderBlock; 21 using net::SpdyHeaderBlock;
23 using std::list; 22 using std::list;
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 ASSERT_TRUE(ContainsKey(response->headers(), ":status")); 251 ASSERT_TRUE(ContainsKey(response->headers(), ":status"));
253 EXPECT_EQ(push_response_status[i++], 252 EXPECT_EQ(push_response_status[i++],
254 response->headers().find(":status")->second); 253 response->headers().find(":status")->second);
255 EXPECT_EQ(push_resource.body, response->body()); 254 EXPECT_EQ(push_resource.body, response->body());
256 resources.pop_front(); 255 resources.pop_front();
257 } 256 }
258 } 257 }
259 258
260 } // namespace test 259 } // namespace test
261 } // namespace net 260 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_client_bin.cc ('k') | net/tools/quic/quic_simple_client_bin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698