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

Side by Side Diff: chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.h

Issue 10381122: Add flag to specify if explicitly requested download is from web. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
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_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 int child_id, 49 int child_id,
50 int route_id, 50 int route_id,
51 bool is_continuation_of_transferred_request, 51 bool is_continuation_of_transferred_request,
52 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; 52 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE;
53 virtual void DownloadStarting( 53 virtual void DownloadStarting(
54 net::URLRequest* request, 54 net::URLRequest* request,
55 content::ResourceContext* resource_context, 55 content::ResourceContext* resource_context,
56 int child_id, 56 int child_id,
57 int route_id, 57 int route_id,
58 int request_id, 58 int request_id,
59 bool is_new_request, 59 bool from_web,
60 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; 60 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE;
61 virtual bool AcceptSSLClientCertificateRequest( 61 virtual bool AcceptSSLClientCertificateRequest(
62 net::URLRequest* request, 62 net::URLRequest* request,
63 net::SSLCertRequestInfo* cert_request_info) OVERRIDE; 63 net::SSLCertRequestInfo* cert_request_info) OVERRIDE;
64 virtual bool AcceptAuthRequest(net::URLRequest* request, 64 virtual bool AcceptAuthRequest(net::URLRequest* request,
65 net::AuthChallengeInfo* auth_info) OVERRIDE; 65 net::AuthChallengeInfo* auth_info) OVERRIDE;
66 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( 66 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate(
67 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; 67 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE;
68 virtual void HandleExternalProtocol(const GURL& url, 68 virtual void HandleExternalProtocol(const GURL& url,
69 int child_id, 69 int child_id,
(...skipping 19 matching lines...) Expand all
89 89
90 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; 90 scoped_refptr<DownloadRequestLimiter> download_request_limiter_;
91 scoped_refptr<SafeBrowsingService> safe_browsing_; 91 scoped_refptr<SafeBrowsingService> safe_browsing_;
92 scoped_refptr<UserScriptListener> user_script_listener_; 92 scoped_refptr<UserScriptListener> user_script_listener_;
93 prerender::PrerenderTracker* prerender_tracker_; 93 prerender::PrerenderTracker* prerender_tracker_;
94 94
95 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); 95 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate);
96 }; 96 };
97 97
98 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE _H_ 98 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698