| OLD | NEW |
| 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/quic/crypto/cert_compressor.h" | 5 #include "net/quic/crypto/cert_compressor.h" |
| 6 | 6 |
| 7 #include <cstdint> |
| 7 #include <memory> | 8 #include <memory> |
| 8 | 9 |
| 9 #include "base/logging.h" | 10 #include "base/logging.h" |
| 10 #include "net/quic/quic_utils.h" | 11 #include "net/quic/quic_utils.h" |
| 11 #include "third_party/zlib/zlib.h" | 12 #include "third_party/zlib/zlib.h" |
| 12 | 13 |
| 13 using base::StringPiece; | 14 using base::StringPiece; |
| 14 using std::string; | 15 using std::string; |
| 15 using std::vector; | 16 using std::vector; |
| 16 | 17 |
| (...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 637 } | 638 } |
| 638 | 639 |
| 639 if (!uncompressed.empty()) { | 640 if (!uncompressed.empty()) { |
| 640 return false; | 641 return false; |
| 641 } | 642 } |
| 642 | 643 |
| 643 return true; | 644 return true; |
| 644 } | 645 } |
| 645 | 646 |
| 646 } // namespace net | 647 } // namespace net |
| OLD | NEW |