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

Side by Side Diff: content/public/browser/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, 5 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 CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
13 #include "content/public/browser/resource_request_info.h" 13 #include "content/public/browser/resource_request_info.h"
14 #include "content/public/common/resource_type.h" 14 #include "content/public/common/resource_type.h"
15 #include "ui/base/page_transition_types.h" 15 #include "ui/base/page_transition_types.h"
16 16
17 class GURL; 17 class GURL;
18 template <class T> class ScopedVector; 18 template <class T> class ScopedVector;
19 19
20 namespace IPC { 20 namespace IPC {
21 class Sender; 21 class Sender;
22 } 22 }
23 23
24 namespace net { 24 namespace net {
25 class AuthChallengeInfo; 25 class AuthChallengeInfo;
26 class ClientCertStore;
26 class URLRequest; 27 class URLRequest;
27 } 28 }
28 29
29 namespace content { 30 namespace content {
30 31
31 class AppCacheService; 32 class AppCacheService;
32 class NavigationData; 33 class NavigationData;
33 class ResourceContext; 34 class ResourceContext;
34 class ResourceDispatcherHostLoginDelegate; 35 class ResourceDispatcherHostLoginDelegate;
35 class ResourceThrottle; 36 class ResourceThrottle;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 130
130 // Asks the embedder if Lo-Fi mode should be enabled for the given request. It 131 // Asks the embedder if Lo-Fi mode should be enabled for the given request. It
131 // is only called for requests with an unspecified Lo-Fi value. 132 // is only called for requests with an unspecified Lo-Fi value.
132 virtual bool ShouldEnableLoFiMode(const net::URLRequest& url_request, 133 virtual bool ShouldEnableLoFiMode(const net::URLRequest& url_request,
133 content::ResourceContext* resource_context); 134 content::ResourceContext* resource_context);
134 135
135 // Asks the embedder for NavigationData related to this request. It is only 136 // Asks the embedder for NavigationData related to this request. It is only
136 // called for navigation requests. 137 // called for navigation requests.
137 virtual NavigationData* GetNavigationData(net::URLRequest* request) const; 138 virtual NavigationData* GetNavigationData(net::URLRequest* request) const;
138 139
140 // Get platform ClientCertStore. May return nullptr.
141 virtual std::unique_ptr<net::ClientCertStore> CreateClientCertStore(
142 ResourceContext* resource_context);
143
139 protected: 144 protected:
140 ResourceDispatcherHostDelegate();
141 virtual ~ResourceDispatcherHostDelegate(); 145 virtual ~ResourceDispatcherHostDelegate();
142 }; 146 };
143 147
144 } // namespace content 148 } // namespace content
145 149
146 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ 150 #endif // CONTENT_PUBLIC_BROWSER_RESOURCE_DISPATCHER_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/public/browser/resource_context.h ('k') | content/public/browser/resource_dispatcher_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698