OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/ftp/ftp_network_transaction.h" | 5 #include "net/ftp/ftp_network_transaction.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
11 #include "base/string_number_conversions.h" | 11 #include "base/string_number_conversions.h" |
12 #include "base/string_split.h" | |
13 #include "base/string_util.h" | 12 #include "base/string_util.h" |
| 13 #include "base/strings/string_split.h" |
14 #include "base/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
15 #include "base/values.h" | 15 #include "base/values.h" |
16 #include "net/base/address_list.h" | 16 #include "net/base/address_list.h" |
17 #include "net/base/connection_type_histograms.h" | 17 #include "net/base/connection_type_histograms.h" |
18 #include "net/base/escape.h" | 18 #include "net/base/escape.h" |
19 #include "net/base/net_errors.h" | 19 #include "net/base/net_errors.h" |
20 #include "net/base/net_log.h" | 20 #include "net/base/net_log.h" |
21 #include "net/base/net_util.h" | 21 #include "net/base/net_util.h" |
22 #include "net/ftp/ftp_network_session.h" | 22 #include "net/ftp/ftp_network_session.h" |
23 #include "net/ftp/ftp_request_info.h" | 23 #include "net/ftp/ftp_request_info.h" |
(...skipping 1370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1394 if (!had_error_type[type]) { | 1394 if (!had_error_type[type]) { |
1395 had_error_type[type] = true; | 1395 had_error_type[type] = true; |
1396 UMA_HISTOGRAM_ENUMERATION("Net.FtpDataConnectionErrorHappened", | 1396 UMA_HISTOGRAM_ENUMERATION("Net.FtpDataConnectionErrorHappened", |
1397 type, NUM_OF_NET_ERROR_TYPES); | 1397 type, NUM_OF_NET_ERROR_TYPES); |
1398 } | 1398 } |
1399 UMA_HISTOGRAM_ENUMERATION("Net.FtpDataConnectionErrorCount", | 1399 UMA_HISTOGRAM_ENUMERATION("Net.FtpDataConnectionErrorCount", |
1400 type, NUM_OF_NET_ERROR_TYPES); | 1400 type, NUM_OF_NET_ERROR_TYPES); |
1401 } | 1401 } |
1402 | 1402 |
1403 } // namespace net | 1403 } // namespace net |
OLD | NEW |