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

Side by Side Diff: net/http2/hpack/tools/hpack_example.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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/http2/hpack/tools/hpack_example.h" 5 #include "net/http2/hpack/tools/hpack_example.h"
6 6
7 #include <ctype.h> 7 #include <ctype.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "net/spdy/spdy_test_utils.h" 10 #include "net/spdy/core/spdy_test_utils.h"
11 11
12 using base::StringPiece; 12 using base::StringPiece;
13 using std::string; 13 using std::string;
14 14
15 namespace net { 15 namespace net {
16 namespace test { 16 namespace test {
17 namespace { 17 namespace {
18 18
19 void HpackExampleToStringOrDie(StringPiece example, string* output) { 19 void HpackExampleToStringOrDie(StringPiece example, string* output) {
20 while (!example.empty()) { 20 while (!example.empty()) {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 } // namespace 52 } // namespace
53 53
54 string HpackExampleToStringOrDie(StringPiece example) { 54 string HpackExampleToStringOrDie(StringPiece example) {
55 string output; 55 string output;
56 HpackExampleToStringOrDie(example, &output); 56 HpackExampleToStringOrDie(example, &output);
57 return output; 57 return output;
58 } 58 }
59 59
60 } // namespace test 60 } // namespace test
61 } // namespace net 61 } // namespace net
OLDNEW
« no previous file with comments | « net/http2/hpack/tools/hpack_block_builder_test.cc ('k') | net/quic/chromium/bidirectional_stream_quic_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698