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

Side by Side Diff: chrome/browser/net/chrome_network_delegate.h

Issue 2786583002: chromeos: Check both original and absolute paths for file: scheme (Closed)
Patch Set: remove dcheck Created 3 years, 6 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 #ifndef CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_
6 #define CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ 6 #define CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 net::URLRequest* request, 166 net::URLRequest* request,
167 const net::AuthChallengeInfo& auth_info, 167 const net::AuthChallengeInfo& auth_info,
168 const AuthCallback& callback, 168 const AuthCallback& callback,
169 net::AuthCredentials* credentials) override; 169 net::AuthCredentials* credentials) override;
170 bool OnCanGetCookies(const net::URLRequest& request, 170 bool OnCanGetCookies(const net::URLRequest& request,
171 const net::CookieList& cookie_list) override; 171 const net::CookieList& cookie_list) override;
172 bool OnCanSetCookie(const net::URLRequest& request, 172 bool OnCanSetCookie(const net::URLRequest& request,
173 const std::string& cookie_line, 173 const std::string& cookie_line,
174 net::CookieOptions* options) override; 174 net::CookieOptions* options) override;
175 bool OnCanAccessFile(const net::URLRequest& request, 175 bool OnCanAccessFile(const net::URLRequest& request,
176 const base::FilePath& path) const override; 176 const base::FilePath& original_path,
177 const base::FilePath& absolute_path) const override;
177 bool OnCanEnablePrivacyMode( 178 bool OnCanEnablePrivacyMode(
178 const GURL& url, 179 const GURL& url,
179 const GURL& first_party_for_cookies) const override; 180 const GURL& first_party_for_cookies) const override;
180 bool OnAreExperimentalCookieFeaturesEnabled() const override; 181 bool OnAreExperimentalCookieFeaturesEnabled() const override;
181 bool OnCancelURLRequestWithPolicyViolatingReferrerHeader( 182 bool OnCancelURLRequestWithPolicyViolatingReferrerHeader(
182 const net::URLRequest& request, 183 const net::URLRequest& request,
183 const GURL& target_url, 184 const GURL& target_url,
184 const GURL& referrer_url) const override; 185 const GURL& referrer_url) const override;
185 bool OnCanQueueReportingReport(const url::Origin& origin) const override; 186 bool OnCanQueueReportingReport(const url::Origin& origin) const override;
186 bool OnCanSendReportingReport(const url::Origin& origin) const override; 187 bool OnCanSendReportingReport(const url::Origin& origin) const override;
(...skipping 30 matching lines...) Expand all
217 218
218 // Aggregates and reports network usage. 219 // Aggregates and reports network usage.
219 data_usage::DataUseAggregator* data_use_aggregator_; 220 data_usage::DataUseAggregator* data_use_aggregator_;
220 // Controls whether network usage is reported as being off the record. 221 // Controls whether network usage is reported as being off the record.
221 bool is_data_usage_off_the_record_; 222 bool is_data_usage_off_the_record_;
222 223
223 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); 224 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate);
224 }; 225 };
225 226
226 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ 227 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/offline_pages/offline_page_request_job.cc ('k') | chrome/browser/net/chrome_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698