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

Side by Side Diff: net/spdy/core/hpack/hpack_constants.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/hpack/hpack_constants.h ('k') | net/spdy/core/hpack/hpack_decoder.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_constants.h" 5 #include "net/spdy/core/hpack/hpack_constants.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
12 #include "net/spdy/hpack/hpack_huffman_table.h" 12 #include "net/spdy/core/hpack/hpack_huffman_table.h"
13 #include "net/spdy/hpack/hpack_static_table.h" 13 #include "net/spdy/core/hpack/hpack_static_table.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 namespace { 17 namespace {
18 18
19 // SharedHpackHuffmanTable is a Singleton wrapping a HpackHuffmanTable 19 // SharedHpackHuffmanTable is a Singleton wrapping a HpackHuffmanTable
20 // instance initialized with |kHpackHuffmanCode|. 20 // instance initialized with |kHpackHuffmanCode|.
21 struct SharedHpackHuffmanTable { 21 struct SharedHpackHuffmanTable {
22 public: 22 public:
23 SharedHpackHuffmanTable() { 23 SharedHpackHuffmanTable() {
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 406
407 const HpackHuffmanTable& ObtainHpackHuffmanTable() { 407 const HpackHuffmanTable& ObtainHpackHuffmanTable() {
408 return *SharedHpackHuffmanTable::GetInstance()->table; 408 return *SharedHpackHuffmanTable::GetInstance()->table;
409 } 409 }
410 410
411 const HpackStaticTable& ObtainHpackStaticTable() { 411 const HpackStaticTable& ObtainHpackStaticTable() {
412 return *SharedHpackStaticTable::GetInstance()->table; 412 return *SharedHpackStaticTable::GetInstance()->table;
413 } 413 }
414 414
415 } // namespace net 415 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/core/hpack/hpack_constants.h ('k') | net/spdy/core/hpack/hpack_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698