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

Side by Side Diff: net/spdy/hpack/hpack_decoder_test.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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/spdy/hpack/hpack_decoder.cc ('k') | net/spdy/hpack/hpack_encoder.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "net/spdy/hpack/hpack_decoder.h" 5 #include "net/spdy/hpack/hpack_decoder.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h"
11 #include "base/logging.h" 10 #include "base/logging.h"
12 #include "base/strings/string_piece.h" 11 #include "base/strings/string_piece.h"
13 #include "net/spdy/hpack/hpack_encoder.h" 12 #include "net/spdy/hpack/hpack_encoder.h"
14 #include "net/spdy/hpack/hpack_input_stream.h" 13 #include "net/spdy/hpack/hpack_input_stream.h"
15 #include "net/spdy/hpack/hpack_output_stream.h" 14 #include "net/spdy/hpack/hpack_output_stream.h"
16 #include "net/spdy/spdy_headers_handler_interface.h" 15 #include "net/spdy/spdy_headers_handler_interface.h"
17 #include "net/spdy/spdy_protocol.h" 16 #include "net/spdy/spdy_protocol.h"
18 #include "net/spdy/spdy_test_utils.h" 17 #include "net/spdy/spdy_test_utils.h"
19 #include "testing/gmock/include/gmock/gmock.h" 18 #include "testing/gmock/include/gmock/gmock.h"
20 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 "foo=ASDJKHQKBZXOQWEOPIUAXQWEOIU;" 690 "foo=ASDJKHQKBZXOQWEOPIUAXQWEOIU;"
692 " max-age=3600; version=1"); 691 " max-age=3600; version=1");
693 expectEntry(63, 52, "content-encoding", "gzip"); 692 expectEntry(63, 52, "content-encoding", "gzip");
694 expectEntry(64, 65, "date", "Mon, 21 Oct 2013 20:13:22 GMT"); 693 expectEntry(64, 65, "date", "Mon, 21 Oct 2013 20:13:22 GMT");
695 EXPECT_EQ(215u, decoder_peer_.header_table()->size()); 694 EXPECT_EQ(215u, decoder_peer_.header_table()->size());
696 } 695 }
697 696
698 } // namespace 697 } // namespace
699 } // namespace test 698 } // namespace test
700 } // namespace net 699 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/hpack/hpack_decoder.cc ('k') | net/spdy/hpack/hpack_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698