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

Side by Side Diff: net/http/http_response_headers_unittest.cc

Issue 10565009: (Finally) Remove NetLog::EventParameters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Fix a couple more files Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/http/http_request_headers_unittest.cc ('k') | net/tools/gdig/file_net_log.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <algorithm> 5 #include <algorithm>
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/memory/scoped_ptr.h"
8 #include "base/pickle.h" 9 #include "base/pickle.h"
9 #include "base/time.h" 10 #include "base/time.h"
10 #include "base/values.h" 11 #include "base/values.h"
11 #include "net/http/http_response_headers.h" 12 #include "net/http/http_response_headers.h"
12 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
13 14
14 namespace { 15 namespace {
15 16
16 struct TestData { 17 struct TestData {
17 const char* raw_headers; 18 const char* raw_headers;
(...skipping 1759 matching lines...) Expand 10 before | Expand all | Expand 10 after
1777 EXPECT_EQ(parsed->response_code(), recreated->response_code()); 1778 EXPECT_EQ(parsed->response_code(), recreated->response_code());
1778 EXPECT_EQ(parsed->GetContentLength(), recreated->GetContentLength()); 1779 EXPECT_EQ(parsed->GetContentLength(), recreated->GetContentLength());
1779 EXPECT_EQ(parsed->IsKeepAlive(), recreated->IsKeepAlive()); 1780 EXPECT_EQ(parsed->IsKeepAlive(), recreated->IsKeepAlive());
1780 1781
1781 std::string normalized_parsed; 1782 std::string normalized_parsed;
1782 parsed->GetNormalizedHeaders(&normalized_parsed); 1783 parsed->GetNormalizedHeaders(&normalized_parsed);
1783 std::string normalized_recreated; 1784 std::string normalized_recreated;
1784 parsed->GetNormalizedHeaders(&normalized_recreated); 1785 parsed->GetNormalizedHeaders(&normalized_recreated);
1785 EXPECT_EQ(normalized_parsed, normalized_recreated); 1786 EXPECT_EQ(normalized_parsed, normalized_recreated);
1786 } 1787 }
OLDNEW
« no previous file with comments | « net/http/http_request_headers_unittest.cc ('k') | net/tools/gdig/file_net_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698