| OLD | NEW |
| 1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef NET_TOOLS_DOMAIN_SECURITY_PRELOAD_GENERATOR_BIT_WRITER_H_ | 5 #ifndef NET_TOOLS_TRANSPORT_SECURITY_STATE_GENERATOR_BIT_WRITER_H_ |
| 6 #define NET_TOOLS_DOMAIN_SECURITY_PRELOAD_GENERATOR_BIT_WRITER_H_ | 6 #define NET_TOOLS_TRANSPORT_SECURITY_STATE_GENERATOR_BIT_WRITER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 namespace net { | 12 namespace net { |
| 13 | 13 |
| 14 namespace transport_security_state { | 14 namespace transport_security_state { |
| 15 | 15 |
| 16 // BitWriter acts as a buffer to which bits can be written. The bits are stored | 16 // BitWriter acts as a buffer to which bits can be written. The bits are stored |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 // Total number of bits written to this BitWriter. | 51 // Total number of bits written to this BitWriter. |
| 52 uint32_t position_ = 0; | 52 uint32_t position_ = 0; |
| 53 | 53 |
| 54 std::vector<uint8_t> bytes_; | 54 std::vector<uint8_t> bytes_; |
| 55 }; | 55 }; |
| 56 | 56 |
| 57 } // namespace transport_security_state | 57 } // namespace transport_security_state |
| 58 | 58 |
| 59 } // namespace net | 59 } // namespace net |
| 60 | 60 |
| 61 #endif // NET_TOOLS_DOMAIN_SECURITY_PRELOAD_GENERATOR_BIT_WRITER_H_ | 61 #endif // NET_TOOLS_TRANSPORT_SECURITY_STATE_GENERATOR_BIT_WRITER_H_ |
| OLD | NEW |