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

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: Sync'd to LKGR and integrated into DownloadUrlParams. 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 <set> 9 #include <set>
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 int child_id, 52 int child_id,
53 int route_id, 53 int route_id,
54 bool is_continuation_of_transferred_request, 54 bool is_continuation_of_transferred_request,
55 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; 55 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE;
56 virtual void DownloadStarting( 56 virtual void DownloadStarting(
57 net::URLRequest* request, 57 net::URLRequest* request,
58 content::ResourceContext* resource_context, 58 content::ResourceContext* resource_context,
59 int child_id, 59 int child_id,
60 int route_id, 60 int route_id,
61 int request_id, 61 int request_id,
62 bool is_new_request, 62 bool is_content_initiated,
63 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE; 63 ScopedVector<content::ResourceThrottle>* throttles) OVERRIDE;
64 virtual bool AcceptSSLClientCertificateRequest( 64 virtual bool AcceptSSLClientCertificateRequest(
65 net::URLRequest* request, 65 net::URLRequest* request,
66 net::SSLCertRequestInfo* cert_request_info) OVERRIDE; 66 net::SSLCertRequestInfo* cert_request_info) OVERRIDE;
67 virtual bool AcceptAuthRequest(net::URLRequest* request, 67 virtual bool AcceptAuthRequest(net::URLRequest* request,
68 net::AuthChallengeInfo* auth_info) OVERRIDE; 68 net::AuthChallengeInfo* auth_info) OVERRIDE;
69 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( 69 virtual content::ResourceDispatcherHostLoginDelegate* CreateLoginDelegate(
70 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; 70 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE;
71 virtual void HandleExternalProtocol(const GURL& url, 71 virtual void HandleExternalProtocol(const GURL& url,
72 int child_id, 72 int child_id,
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 // This consists of a list of valid IDs, and the actual transmitted header. 126 // This consists of a list of valid IDs, and the actual transmitted header.
127 // Note that since this cache is both initialized and accessed from the IO 127 // Note that since this cache is both initialized and accessed from the IO
128 // thread, we do not need to synchronize its uses. 128 // thread, we do not need to synchronize its uses.
129 std::set<chrome_variations::ID> variation_ids_set_; 129 std::set<chrome_variations::ID> variation_ids_set_;
130 std::string variation_ids_header_; 130 std::string variation_ids_header_;
131 131
132 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); 132 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate);
133 }; 133 };
134 134
135 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE _H_ 135 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE _H_
OLDNEW
« no previous file with comments | « chrome/browser/plugin_installer.cc ('k') | chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698