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

Side by Side Diff: net/spdy/spdy_read_queue_unittest.cc

Issue 2799913003: Fix some net/spdy lint picks, from git cl lint. (Closed)
Patch Set: Set upstream branch to Issue 2801603003 as trybots pass. 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 unified diff | Download patch
« no previous file with comments | « net/spdy/spdy_proxy_client_socket.h ('k') | net/spdy/spdy_stream_test_util.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "net/spdy/spdy_read_queue.h" 5 #include "net/spdy/spdy_read_queue.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <cstddef> 8 #include <cstddef>
9 #include <memory> 9 #include <memory>
10 #include <utility>
10 11
11 #include "base/bind.h" 12 #include "base/bind.h"
12 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
13 #include "base/stl_util.h" 14 #include "base/stl_util.h"
14 #include "net/spdy/platform/api/spdy_string.h" 15 #include "net/spdy/platform/api/spdy_string.h"
15 #include "net/spdy/spdy_buffer.h" 16 #include "net/spdy/spdy_buffer.h"
16 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
17 18
18 namespace net { 19 namespace net {
19 namespace test { 20 namespace test {
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 131
131 read_queue.Clear(); 132 read_queue.Clear();
132 133
133 EXPECT_TRUE(discarded); 134 EXPECT_TRUE(discarded);
134 EXPECT_EQ(kDataSize, discarded_bytes); 135 EXPECT_EQ(kDataSize, discarded_bytes);
135 EXPECT_TRUE(read_queue.IsEmpty()); 136 EXPECT_TRUE(read_queue.IsEmpty());
136 } 137 }
137 138
138 } // namespace test 139 } // namespace test
139 } // namespace net 140 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_proxy_client_socket.h ('k') | net/spdy/spdy_stream_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698