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

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

Issue 8680036: Move ResourceResponse struct into the Content API, since it's used in Chrome. While at it, I also... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: add gypi changes Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 net::AuthChallengeInfo* auth_info) OVERRIDE; 67 net::AuthChallengeInfo* auth_info) OVERRIDE;
68 virtual ResourceDispatcherHostLoginDelegate* CreateLoginDelegate( 68 virtual ResourceDispatcherHostLoginDelegate* CreateLoginDelegate(
69 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE; 69 net::AuthChallengeInfo* auth_info, net::URLRequest* request) OVERRIDE;
70 virtual void HandleExternalProtocol(const GURL& url, 70 virtual void HandleExternalProtocol(const GURL& url,
71 int child_id, 71 int child_id,
72 int route_id) OVERRIDE; 72 int route_id) OVERRIDE;
73 virtual bool ShouldForceDownloadResource( 73 virtual bool ShouldForceDownloadResource(
74 const GURL& url, const std::string& mime_type) OVERRIDE; 74 const GURL& url, const std::string& mime_type) OVERRIDE;
75 virtual void OnResponseStarted( 75 virtual void OnResponseStarted(
76 net::URLRequest* request, 76 net::URLRequest* request,
77 ResourceResponse* response, 77 content::ResourceResponse* response,
78 ResourceMessageFilter* filter) OVERRIDE; 78 ResourceMessageFilter* filter) OVERRIDE;
79 virtual void OnRequestRedirected( 79 virtual void OnRequestRedirected(
80 net::URLRequest* request, 80 net::URLRequest* request,
81 ResourceResponse* response, 81 content::ResourceResponse* response,
82 ResourceMessageFilter* filter) OVERRIDE; 82 ResourceMessageFilter* filter) OVERRIDE;
83 83
84 private: 84 private:
85 ResourceHandler* CreateSafeBrowsingResourceHandler( 85 ResourceHandler* CreateSafeBrowsingResourceHandler(
86 ResourceHandler* handler, int child_id, int route_id, bool subresource); 86 ResourceHandler* handler, int child_id, int route_id, bool subresource);
87 87
88 ResourceDispatcherHost* resource_dispatcher_host_; 88 ResourceDispatcherHost* resource_dispatcher_host_;
89 scoped_refptr<DownloadRequestLimiter> download_request_limiter_; 89 scoped_refptr<DownloadRequestLimiter> download_request_limiter_;
90 scoped_refptr<SafeBrowsingService> safe_browsing_; 90 scoped_refptr<SafeBrowsingService> safe_browsing_;
91 prerender::PrerenderTracker* prerender_tracker_; 91 prerender::PrerenderTracker* prerender_tracker_;
92 92
93 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); 93 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate);
94 }; 94 };
95 95
96 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE _H_ 96 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE _H_
OLDNEW
« no previous file with comments | « chrome/browser/net/load_timing_observer.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