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

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

Issue 953633002: Remove net::Filter direct dependency on IsSupportedMimeType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use NetworkDelegate::IsSupportedMimeType in net::Filter::FixupEncodingTypes Created 5 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/net/chrome_network_delegate.cc » ('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 #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 <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 bool OnCanAccessFile(const net::URLRequest& request, 185 bool OnCanAccessFile(const net::URLRequest& request,
186 const base::FilePath& path) const override; 186 const base::FilePath& path) const override;
187 bool OnCanThrottleRequest(const net::URLRequest& request) const override; 187 bool OnCanThrottleRequest(const net::URLRequest& request) const override;
188 bool OnCanEnablePrivacyMode( 188 bool OnCanEnablePrivacyMode(
189 const GURL& url, 189 const GURL& url,
190 const GURL& first_party_for_cookies) const override; 190 const GURL& first_party_for_cookies) const override;
191 bool OnCancelURLRequestWithPolicyViolatingReferrerHeader( 191 bool OnCancelURLRequestWithPolicyViolatingReferrerHeader(
192 const net::URLRequest& request, 192 const net::URLRequest& request,
193 const GURL& target_url, 193 const GURL& target_url,
194 const GURL& referrer_url) const override; 194 const GURL& referrer_url) const override;
195 bool OnIsSupportedMimeType(const std::string& mime_type) const override;
195 196
196 void AccumulateContentLength( 197 void AccumulateContentLength(
197 int64 received_payload_byte_count, 198 int64 received_payload_byte_count,
198 int64 original_payload_byte_count); 199 int64 original_payload_byte_count);
199 200
200 scoped_ptr<ChromeExtensionsNetworkDelegate> extensions_delegate_; 201 scoped_ptr<ChromeExtensionsNetworkDelegate> extensions_delegate_;
201 202
202 void* profile_; 203 void* profile_;
203 base::FilePath profile_path_; 204 base::FilePath profile_path_;
204 scoped_refptr<CookieSettings> cookie_settings_; 205 scoped_refptr<CookieSettings> cookie_settings_;
(...skipping 27 matching lines...) Expand all
232 scoped_ptr<ClientHints> client_hints_; 233 scoped_ptr<ClientHints> client_hints_;
233 234
234 bool first_request_; 235 bool first_request_;
235 236
236 prerender::PrerenderTracker* prerender_tracker_; 237 prerender::PrerenderTracker* prerender_tracker_;
237 238
238 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); 239 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate);
239 }; 240 };
240 241
241 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ 242 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/net/chrome_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698