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

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

Issue 519533002: Initial PlzNavigate RDH-side logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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_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 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 int route_id) OVERRIDE; 65 int route_id) OVERRIDE;
66 virtual bool ShouldForceDownloadResource( 66 virtual bool ShouldForceDownloadResource(
67 const GURL& url, const std::string& mime_type) OVERRIDE; 67 const GURL& url, const std::string& mime_type) OVERRIDE;
68 virtual bool ShouldInterceptResourceAsStream( 68 virtual bool ShouldInterceptResourceAsStream(
69 net::URLRequest* request, 69 net::URLRequest* request,
70 const std::string& mime_type, 70 const std::string& mime_type,
71 GURL* origin, 71 GURL* origin,
72 std::string* payload) OVERRIDE; 72 std::string* payload) OVERRIDE;
73 virtual void OnStreamCreated( 73 virtual void OnStreamCreated(
74 net::URLRequest* request, 74 net::URLRequest* request,
75 scoped_ptr<content::StreamHandle> stream) OVERRIDE; 75 scoped_ptr<content::StreamInfo> stream) OVERRIDE;
76 virtual void OnResponseStarted( 76 virtual void OnResponseStarted(
77 net::URLRequest* request, 77 net::URLRequest* request,
78 content::ResourceContext* resource_context, 78 content::ResourceContext* resource_context,
79 content::ResourceResponse* response, 79 content::ResourceResponse* response,
80 IPC::Sender* sender) OVERRIDE; 80 IPC::Sender* sender) OVERRIDE;
81 virtual void OnRequestRedirected( 81 virtual void OnRequestRedirected(
82 const GURL& redirect_url, 82 const GURL& redirect_url,
83 net::URLRequest* request, 83 net::URLRequest* request,
84 content::ResourceContext* resource_context, 84 content::ResourceContext* resource_context,
85 content::ResourceResponse* response) OVERRIDE; 85 content::ResourceResponse* response) OVERRIDE;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 #if defined(ENABLE_EXTENSIONS) 117 #if defined(ENABLE_EXTENSIONS)
118 scoped_refptr<extensions::UserScriptListener> user_script_listener_; 118 scoped_refptr<extensions::UserScriptListener> user_script_listener_;
119 std::map<net::URLRequest*, StreamTargetInfo> stream_target_info_; 119 std::map<net::URLRequest*, StreamTargetInfo> stream_target_info_;
120 #endif 120 #endif
121 prerender::PrerenderTracker* prerender_tracker_; 121 prerender::PrerenderTracker* prerender_tracker_;
122 122
123 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); 123 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate);
124 }; 124 };
125 125
126 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE _H_ 126 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698