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

Side by Side Diff: net/quic/chromium/quic_connection_logger.cc

Issue 2193073003: Move shared files in net/quic/ into net/quic/core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: io_thread_unittest.cc Created 4 years, 4 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/quic/chromium/quic_connection_logger.h ('k') | net/quic/chromium/quic_http_stream.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 (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/chromium/quic_connection_logger.h" 5 #include "net/quic/chromium/quic_connection_logger.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <limits> 8 #include <limits>
9 #include <memory> 9 #include <memory>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/metrics/histogram_base.h" 15 #include "base/metrics/histogram_base.h"
16 #include "base/metrics/histogram_macros.h" 16 #include "base/metrics/histogram_macros.h"
17 #include "base/metrics/sparse_histogram.h" 17 #include "base/metrics/sparse_histogram.h"
18 #include "base/profiler/scoped_tracker.h" 18 #include "base/profiler/scoped_tracker.h"
19 #include "base/strings/string_number_conversions.h" 19 #include "base/strings/string_number_conversions.h"
20 #include "base/values.h" 20 #include "base/values.h"
21 #include "net/base/ip_address.h" 21 #include "net/base/ip_address.h"
22 #include "net/cert/x509_certificate.h" 22 #include "net/cert/x509_certificate.h"
23 #include "net/quic/crypto/crypto_handshake_message.h" 23 #include "net/quic/core/crypto/crypto_handshake_message.h"
24 #include "net/quic/crypto/crypto_protocol.h" 24 #include "net/quic/core/crypto/crypto_protocol.h"
25 #include "net/quic/quic_address_mismatch.h" 25 #include "net/quic/core/quic_address_mismatch.h"
26 #include "net/quic/quic_protocol.h" 26 #include "net/quic/core/quic_protocol.h"
27 #include "net/quic/quic_socket_address_coder.h" 27 #include "net/quic/core/quic_socket_address_coder.h"
28 #include "net/quic/quic_time.h" 28 #include "net/quic/core/quic_time.h"
29 29
30 using base::StringPiece; 30 using base::StringPiece;
31 using std::string; 31 using std::string;
32 32
33 namespace net { 33 namespace net {
34 34
35 namespace { 35 namespace {
36 36
37 // We have ranges-of-buckets in the cumulative histogram (covering 21 packet 37 // We have ranges-of-buckets in the cumulative histogram (covering 21 packet
38 // sequences) of length 2, 3, 4, ... 22. 38 // sequences) of length 2, 3, 4, ... 22.
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 continue; 887 continue;
888 } 888 }
889 // Record some overlapping patterns, to get a better picture, since this is 889 // Record some overlapping patterns, to get a better picture, since this is
890 // not very expensive. 890 // not very expensive.
891 if (i % 3 == 0) 891 if (i % 3 == 0)
892 six_packet_histogram->Add(recent_6_mask); 892 six_packet_histogram->Add(recent_6_mask);
893 } 893 }
894 } 894 }
895 895
896 } // namespace net 896 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/chromium/quic_connection_logger.h ('k') | net/quic/chromium/quic_http_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698