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 "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 Loading... |
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 |
OLD | NEW |