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

Side by Side Diff: net/quic/core/crypto/aead_base_decrypter.cc

Issue 2619993003: Move quic_bug_tracker to quic/platform. No functional change expected. (Closed)
Patch Set: fix two includes Created 3 years, 11 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 (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/core/crypto/aead_base_decrypter.h" 5 #include "net/quic/core/crypto/aead_base_decrypter.h"
6 6
7 #include <cstdint> 7 #include <cstdint>
8 8
9 #include "net/quic/core/quic_bug_tracker.h"
10 #include "net/quic/core/quic_utils.h" 9 #include "net/quic/core/quic_utils.h"
10 #include "net/quic/platform/api/quic_bug_tracker.h"
11 #include "third_party/boringssl/src/include/openssl/err.h" 11 #include "third_party/boringssl/src/include/openssl/err.h"
12 #include "third_party/boringssl/src/include/openssl/evp.h" 12 #include "third_party/boringssl/src/include/openssl/evp.h"
13 13
14 using base::StringPiece; 14 using base::StringPiece;
15 using std::string; 15 using std::string;
16 16
17 namespace net { 17 namespace net {
18 18
19 namespace { 19 namespace {
20 20
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 159
160 StringPiece AeadBaseDecrypter::GetNoncePrefix() const { 160 StringPiece AeadBaseDecrypter::GetNoncePrefix() const {
161 if (nonce_prefix_size_ == 0) { 161 if (nonce_prefix_size_ == 0) {
162 return StringPiece(); 162 return StringPiece();
163 } 163 }
164 return StringPiece(reinterpret_cast<const char*>(nonce_prefix_), 164 return StringPiece(reinterpret_cast<const char*>(nonce_prefix_),
165 nonce_prefix_size_); 165 nonce_prefix_size_);
166 } 166 }
167 167
168 } // namespace net 168 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/congestion_control/tcp_cubic_sender_packets.cc ('k') | net/quic/core/crypto/crypto_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698