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

Side by Side Diff: net/spdy/core/spdy_frame_builder_test.cc

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. 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/core/spdy_frame_builder.cc ('k') | net/spdy/core/spdy_frame_reader.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_frame_builder.h" 5 #include "net/spdy/core/spdy_frame_builder.h"
6 6
7 #include "net/spdy/array_output_buffer.h" 7 #include "net/spdy/core/array_output_buffer.h"
8 #include "net/spdy/spdy_framer.h" 8 #include "net/spdy/core/spdy_framer.h"
9 #include "net/spdy/spdy_protocol.h" 9 #include "net/spdy/core/spdy_protocol.h"
10 #include "testing/platform_test.h" 10 #include "testing/platform_test.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 namespace { 14 namespace {
15 15
16 const int64_t kSize = 64 * 1024; 16 const int64_t kSize = 64 * 1024;
17 char output_buffer[kSize] = ""; 17 char output_buffer[kSize] = "";
18 18
19 } // namespace 19 } // namespace
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 const size_t kBuilderSize = 10; 57 const size_t kBuilderSize = 10;
58 SpdyFrameBuilder builder(kBuilderSize, &output); 58 SpdyFrameBuilder builder(kBuilderSize, &output);
59 size_t actual_size = 0; 59 size_t actual_size = 0;
60 char* writable_buffer = builder.GetWritableOutput(kBuilderSize, &actual_size); 60 char* writable_buffer = builder.GetWritableOutput(kBuilderSize, &actual_size);
61 builder.GetWritableOutput(kBuilderSize, &actual_size); 61 builder.GetWritableOutput(kBuilderSize, &actual_size);
62 EXPECT_EQ((uint64_t)0, actual_size); 62 EXPECT_EQ((uint64_t)0, actual_size);
63 EXPECT_EQ(nullptr, writable_buffer); 63 EXPECT_EQ(nullptr, writable_buffer);
64 } 64 }
65 65
66 } // namespace net 66 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/core/spdy_frame_builder.cc ('k') | net/spdy/core/spdy_frame_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698