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

Side by Side Diff: net/base/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 redundant comments Created 4 years, 7 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 "net/base/network_delegate.h" 5 #include "net/base/network_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/profiler/scoped_tracker.h" 8 #include "base/profiler/scoped_tracker.h"
9 #include "base/trace_event/trace_event.h" 9 #include "base/trace_event/trace_event.h"
10 #include "net/base/load_flags.h" 10 #include "net/base/load_flags.h"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 bool NetworkDelegate::CancelURLRequestWithPolicyViolatingReferrerHeader( 179 bool NetworkDelegate::CancelURLRequestWithPolicyViolatingReferrerHeader(
180 const URLRequest& request, 180 const URLRequest& request,
181 const GURL& target_url, 181 const GURL& target_url,
182 const GURL& referrer_url) const { 182 const GURL& referrer_url) const {
183 DCHECK(CalledOnValidThread()); 183 DCHECK(CalledOnValidThread());
184 return OnCancelURLRequestWithPolicyViolatingReferrerHeader( 184 return OnCancelURLRequestWithPolicyViolatingReferrerHeader(
185 request, target_url, referrer_url); 185 request, target_url, referrer_url);
186 } 186 }
187 187
188 NetworkDelegate::URLBlacklistState NetworkDelegate::GetURLBlacklistState(
189 const GURL& url) const {
190 return URL_NEUTRAL_STATE;
191 }
192
188 } // namespace net 193 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698