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

Side by Side Diff: net/base/network_delegate.cc

Issue 754433003: Update from https://crrev.com/305340 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « net/base/network_delegate.h ('k') | net/base/sdch_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "net/base/load_flags.h" 9 #include "net/base/load_flags.h"
10 #include "net/base/net_errors.h" 10 #include "net/base/net_errors.h"
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 bool NetworkDelegate::OnCanThrottleRequest(const URLRequest& request) const { 332 bool NetworkDelegate::OnCanThrottleRequest(const URLRequest& request) const {
333 return false; 333 return false;
334 } 334 }
335 335
336 bool NetworkDelegate::OnCanEnablePrivacyMode( 336 bool NetworkDelegate::OnCanEnablePrivacyMode(
337 const GURL& url, 337 const GURL& url,
338 const GURL& first_party_for_cookies) const { 338 const GURL& first_party_for_cookies) const {
339 return false; 339 return false;
340 } 340 }
341 341
342 int NetworkDelegate::OnBeforeSocketStreamConnect(
343 SocketStream* socket,
344 const CompletionCallback& callback) {
345 return OK;
346 }
347
348 bool NetworkDelegate::OnCancelURLRequestWithPolicyViolatingReferrerHeader( 342 bool NetworkDelegate::OnCancelURLRequestWithPolicyViolatingReferrerHeader(
349 const URLRequest& request, 343 const URLRequest& request,
350 const GURL& target_url, 344 const GURL& target_url,
351 const GURL& referrer_url) const { 345 const GURL& referrer_url) const {
352 return false; 346 return false;
353 } 347 }
354 348
355 } // namespace net 349 } // namespace net
OLDNEW
« no previous file with comments | « net/base/network_delegate.h ('k') | net/base/sdch_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698