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 732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
743 if (!data_use_aggregator_) | 743 if (!data_use_aggregator_) |
744 return; | 744 return; |
745 | 745 |
746 if (is_data_usage_off_the_record_) { | 746 if (is_data_usage_off_the_record_) { |
747 data_use_aggregator_->ReportOffTheRecordDataUse(tx_bytes, rx_bytes); | 747 data_use_aggregator_->ReportOffTheRecordDataUse(tx_bytes, rx_bytes); |
748 return; | 748 return; |
749 } | 749 } |
750 | 750 |
751 data_use_aggregator_->ReportDataUse(request, tx_bytes, rx_bytes); | 751 data_use_aggregator_->ReportDataUse(request, tx_bytes, rx_bytes); |
752 } | 752 } |
753 | |
754 #if defined(ENABLE_CONFIGURATION_POLICY) | |
Andrew T Wilson (Slow)
2016/05/02 09:32:11
Remove this #ifdef
igorcov
2016/05/02 13:29:08
Done.
| |
755 net::NetworkDelegate::URLBlacklistState | |
756 ChromeNetworkDelegate::GetURLBlacklistState(const GURL& url) const { | |
757 return url_blacklist_manager_->GetURLBlacklistState(url); | |
758 } | |
759 #endif | |
OLD | NEW |