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

Side by Side Diff: content/browser/loader/resource_loader_delegate.h

Issue 2741433002: Fix ResourceDispatcherHostDelegate::OnResponseStarted not getting called for navigation requests (Closed)
Patch Set: fix mojo unittests Created 3 years, 9 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_BROWSER_LOADER_RESOURCE_LOADER_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_LOADER_DELEGATE_H_
6 #define CONTENT_BROWSER_LOADER_RESOURCE_LOADER_DELEGATE_H_ 6 #define CONTENT_BROWSER_LOADER_RESOURCE_LOADER_DELEGATE_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 9
10 class GURL; 10 class GURL;
(...skipping 14 matching lines...) Expand all
25 ResourceLoader* loader, 25 ResourceLoader* loader,
26 net::AuthChallengeInfo* auth_info) = 0; 26 net::AuthChallengeInfo* auth_info) = 0;
27 27
28 virtual bool HandleExternalProtocol(ResourceLoader* loader, 28 virtual bool HandleExternalProtocol(ResourceLoader* loader,
29 const GURL& url) = 0; 29 const GURL& url) = 0;
30 30
31 virtual void DidStartRequest(ResourceLoader* loader) = 0; 31 virtual void DidStartRequest(ResourceLoader* loader) = 0;
32 virtual void DidReceiveRedirect(ResourceLoader* loader, 32 virtual void DidReceiveRedirect(ResourceLoader* loader,
33 const GURL& new_url, 33 const GURL& new_url,
34 ResourceResponse* response) = 0; 34 ResourceResponse* response) = 0;
35 virtual void DidReceiveResponse(ResourceLoader* loader) = 0; 35 virtual void DidReceiveResponse(ResourceLoader* loader,
36 ResourceResponse* response) = 0;
36 37
37 // This method informs the delegate that the loader is done, and the loader 38 // This method informs the delegate that the loader is done, and the loader
38 // expects to be destroyed as a side-effect of this call. 39 // expects to be destroyed as a side-effect of this call.
39 virtual void DidFinishLoading(ResourceLoader* loader) = 0; 40 virtual void DidFinishLoading(ResourceLoader* loader) = 0;
40 41
41 // Get platform ClientCertStore. May return nullptr. 42 // Get platform ClientCertStore. May return nullptr.
42 virtual std::unique_ptr<net::ClientCertStore> CreateClientCertStore( 43 virtual std::unique_ptr<net::ClientCertStore> CreateClientCertStore(
43 ResourceLoader* loader) = 0; 44 ResourceLoader* loader) = 0;
44 45
45 protected: 46 protected:
46 virtual ~ResourceLoaderDelegate() {} 47 virtual ~ResourceLoaderDelegate() {}
47 }; 48 };
48 49
49 } // namespace content 50 } // namespace content
50 51
51 #endif // CONTENT_BROWSER_LOADER_RESOURCE_LOADER_DELEGATE_H_ 52 #endif // CONTENT_BROWSER_LOADER_RESOURCE_LOADER_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/loader/resource_loader.cc ('k') | content/browser/loader/resource_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698