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 "chrome/browser/net/chrome_network_delegate.h" | 5 #include "chrome/browser/net/chrome_network_delegate.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdlib.h> | 8 #include <stdlib.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
752 if (!data_use_aggregator_) | 752 if (!data_use_aggregator_) |
753 return; | 753 return; |
754 | 754 |
755 if (is_data_usage_off_the_record_) { | 755 if (is_data_usage_off_the_record_) { |
756 data_use_aggregator_->ReportOffTheRecordDataUse(tx_bytes, rx_bytes); | 756 data_use_aggregator_->ReportOffTheRecordDataUse(tx_bytes, rx_bytes); |
757 return; | 757 return; |
758 } | 758 } |
759 | 759 |
760 data_use_aggregator_->ReportDataUse(request, tx_bytes, rx_bytes); | 760 data_use_aggregator_->ReportDataUse(request, tx_bytes, rx_bytes); |
761 } | 761 } |
762 | |
763 net::NetworkDelegate::URLBlacklistState | |
Thiemo Nagel
2016/03/08 18:44:34
Please wrap in #if defined(ENABLE_CONFIGURATION_PO
| |
764 ChromeNetworkDelegate::GetURLBlacklistState( | |
Thiemo Nagel
2016/03/08 18:44:34
Please don't wrap parameter if it would fit on a s
| |
765 const GURL& url) { | |
766 return url_blacklist_manager_->GetURLBlacklistState(url); | |
767 } | |
OLD | NEW |