| 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 #include "net/tools/domain_security_preload_generator/bit_writer.h" | 5 #include "net/tools/transport_security_state_generator/bit_writer.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace net { | 9 namespace net { |
| 10 | 10 |
| 11 namespace transport_security_state { | 11 namespace transport_security_state { |
| 12 | 12 |
| 13 BitWriter::BitWriter() {} | 13 BitWriter::BitWriter() {} |
| 14 | 14 |
| 15 BitWriter::~BitWriter() {} | 15 BitWriter::~BitWriter() {} |
| (...skipping 28 matching lines...) Expand all Loading... |
| 44 while (input != 0) { | 44 while (input != 0) { |
| 45 number_of_bits++; | 45 number_of_bits++; |
| 46 input >>= 1; | 46 input >>= 1; |
| 47 } | 47 } |
| 48 return number_of_bits; | 48 return number_of_bits; |
| 49 } | 49 } |
| 50 | 50 |
| 51 } // namespace transport_security_state | 51 } // namespace transport_security_state |
| 52 | 52 |
| 53 } // namespace net | 53 } // namespace net |
| OLD | NEW |