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

Side by Side Diff: chrome/browser/net/chrome_network_delegate.cc

Issue 1692503002: Functionality to allow blacklist and whitelist of custom schemes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed unused comments Created 4 years, 9 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) 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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698