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

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

Issue 2088763004: Remove resource_context.h include from resource_loader.cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 6 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 <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 void OnRequestRedirected(const GURL& redirect_url, 90 void OnRequestRedirected(const GURL& redirect_url,
91 net::URLRequest* request, 91 net::URLRequest* request,
92 content::ResourceContext* resource_context, 92 content::ResourceContext* resource_context,
93 content::ResourceResponse* response) override; 93 content::ResourceResponse* response) override;
94 void RequestComplete(net::URLRequest* url_request) override; 94 void RequestComplete(net::URLRequest* url_request) override;
95 bool ShouldEnableLoFiMode( 95 bool ShouldEnableLoFiMode(
96 const net::URLRequest& url_request, 96 const net::URLRequest& url_request,
97 content::ResourceContext* resource_context) override; 97 content::ResourceContext* resource_context) override;
98 content::NavigationData* GetNavigationData( 98 content::NavigationData* GetNavigationData(
99 net::URLRequest* request) const override; 99 net::URLRequest* request) const override;
100 std::unique_ptr<net::ClientCertStore> CreateClientCertStore(
101 content::ResourceContext* resource_context) override;
100 102
101 // Called on the UI thread. Allows switching out the 103 // Called on the UI thread. Allows switching out the
102 // ExternalProtocolHandler::Delegate for testing code. 104 // ExternalProtocolHandler::Delegate for testing code.
103 static void SetExternalProtocolHandlerDelegateForTesting( 105 static void SetExternalProtocolHandlerDelegateForTesting(
104 ExternalProtocolHandler::Delegate* delegate); 106 ExternalProtocolHandler::Delegate* delegate);
105 107
106 private: 108 private:
107 #if defined(ENABLE_EXTENSIONS) 109 #if defined(ENABLE_EXTENSIONS)
108 struct StreamTargetInfo { 110 struct StreamTargetInfo {
109 std::string extension_id; 111 std::string extension_id;
(...skipping 11 matching lines...) Expand all
121 scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_; 123 scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_;
122 #if defined(ENABLE_EXTENSIONS) 124 #if defined(ENABLE_EXTENSIONS)
123 scoped_refptr<extensions::UserScriptListener> user_script_listener_; 125 scoped_refptr<extensions::UserScriptListener> user_script_listener_;
124 std::map<net::URLRequest*, StreamTargetInfo> stream_target_info_; 126 std::map<net::URLRequest*, StreamTargetInfo> stream_target_info_;
125 #endif 127 #endif
126 128
127 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); 129 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate);
128 }; 130 };
129 131
130 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE _H_ 132 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE _H_
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_io_data.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