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

Side by Side Diff: net/spdy/spdy_write_queue_unittest.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/spdy_write_queue.h ('k') | net/spdy/write_blocked_list.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_write_queue.h" 5 #include "net/spdy/spdy_write_queue.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 #include <cstring> 8 #include <cstring>
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h"
12 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
13 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
14 #include "base/strings/string_number_conversions.h" 13 #include "base/strings/string_number_conversions.h"
15 #include "net/base/request_priority.h" 14 #include "net/base/request_priority.h"
16 #include "net/log/net_log.h" 15 #include "net/log/net_log.h"
17 #include "net/spdy/spdy_buffer_producer.h" 16 #include "net/spdy/spdy_buffer_producer.h"
18 #include "net/spdy/spdy_stream.h" 17 #include "net/spdy/spdy_stream.h"
19 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
20 #include "url/gurl.h" 19 #include "url/gurl.h"
21 20
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 scoped_ptr<SpdyBufferProducer> producer; 364 scoped_ptr<SpdyBufferProducer> producer;
366 base::WeakPtr<SpdyStream> weak_stream; 365 base::WeakPtr<SpdyStream> weak_stream;
367 366
368 EXPECT_TRUE(queue.Dequeue(&frame_type, &producer, &weak_stream)); 367 EXPECT_TRUE(queue.Dequeue(&frame_type, &producer, &weak_stream));
369 EXPECT_EQ(string(kRequeued), producer->ProduceBuffer()->GetRemainingData()); 368 EXPECT_EQ(string(kRequeued), producer->ProduceBuffer()->GetRemainingData());
370 } 369 }
371 370
372 } // namespace 371 } // namespace
373 372
374 } // namespace net 373 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/spdy_write_queue.h ('k') | net/spdy/write_blocked_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698