OLD | NEW |
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/network_delegate_impl.h" | 5 #include "net/base/network_delegate_impl.h" |
6 | 6 |
7 #include "net/base/net_errors.h" | 7 #include "net/base/net_errors.h" |
8 | 8 |
9 namespace net { | 9 namespace net { |
10 | 10 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 const CookieList& cookie_list) { | 85 const CookieList& cookie_list) { |
86 return true; | 86 return true; |
87 } | 87 } |
88 | 88 |
89 bool NetworkDelegateImpl::OnCanSetCookie(const URLRequest& request, | 89 bool NetworkDelegateImpl::OnCanSetCookie(const URLRequest& request, |
90 const std::string& cookie_line, | 90 const std::string& cookie_line, |
91 CookieOptions* options) { | 91 CookieOptions* options) { |
92 return true; | 92 return true; |
93 } | 93 } |
94 | 94 |
95 bool NetworkDelegateImpl::OnCanAccessFile(const URLRequest& request, | 95 bool NetworkDelegateImpl::OnCanAccessFile( |
96 const base::FilePath& path) const { | 96 const URLRequest& request, |
| 97 const base::FilePath& original_path, |
| 98 const base::FilePath& absolute_path) const { |
97 return false; | 99 return false; |
98 } | 100 } |
99 | 101 |
100 bool NetworkDelegateImpl::OnCanEnablePrivacyMode( | 102 bool NetworkDelegateImpl::OnCanEnablePrivacyMode( |
101 const GURL& url, | 103 const GURL& url, |
102 const GURL& first_party_for_cookies) const { | 104 const GURL& first_party_for_cookies) const { |
103 return false; | 105 return false; |
104 } | 106 } |
105 | 107 |
106 bool NetworkDelegateImpl::OnAreExperimentalCookieFeaturesEnabled() const { | 108 bool NetworkDelegateImpl::OnAreExperimentalCookieFeaturesEnabled() const { |
(...skipping 21 matching lines...) Expand all Loading... |
128 const GURL& endpoint) const { | 130 const GURL& endpoint) const { |
129 return true; | 131 return true; |
130 } | 132 } |
131 | 133 |
132 bool NetworkDelegateImpl::OnCanUseReportingClient(const url::Origin& origin, | 134 bool NetworkDelegateImpl::OnCanUseReportingClient(const url::Origin& origin, |
133 const GURL& endpoint) const { | 135 const GURL& endpoint) const { |
134 return true; | 136 return true; |
135 } | 137 } |
136 | 138 |
137 } // namespace net | 139 } // namespace net |
OLD | NEW |