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

Side by Side Diff: net/base/layered_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: Fixed review comments and merged Created 4 years, 8 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/base/layered_network_delegate.h" 5 #include "net/base/layered_network_delegate.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 namespace net { 9 namespace net {
10 10
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 referrer_url); 252 referrer_url);
253 } 253 }
254 254
255 void LayeredNetworkDelegate:: 255 void LayeredNetworkDelegate::
256 OnCancelURLRequestWithPolicyViolatingReferrerHeaderInternal( 256 OnCancelURLRequestWithPolicyViolatingReferrerHeaderInternal(
257 const URLRequest& request, 257 const URLRequest& request,
258 const GURL& target_url, 258 const GURL& target_url,
259 const GURL& referrer_url) const { 259 const GURL& referrer_url) const {
260 } 260 }
261 261
262 net::NetworkDelegate::URLBlacklistState
263 LayeredNetworkDelegate::GetURLBlacklistState(const GURL& url) const {
264 return nested_network_delegate_->GetURLBlacklistState(url);
265 }
266
262 } // namespace net 267 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698