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

Unified Diff: content/browser/loader_delegate_impl.h

Issue 2108643004: Remove use of WebContentsImpl from ResourceDispatcherHostImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@render-view-try-3
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/loader_delegate_impl.h
diff --git a/content/browser/loader_delegate_impl.h b/content/browser/loader_delegate_impl.h
index e55ff63196fa32071e74924e999825513bc0e7d9..c95d628566ed93610f11c1ac09c5299fdd28115e 100644
--- a/content/browser/loader_delegate_impl.h
+++ b/content/browser/loader_delegate_impl.h
@@ -6,10 +6,11 @@
#define CONTENT_BROWSER_LOADER_DELEGATE_IMPL_H_
#include "content/browser/loader/loader_delegate.h"
+#include "content/common/content_export.h"
namespace content {
-class LoaderDelegateImpl : public LoaderDelegate {
+class CONTENT_EXPORT LoaderDelegateImpl : public LoaderDelegate {
public:
~LoaderDelegateImpl() override;
@@ -20,6 +21,16 @@ class LoaderDelegateImpl : public LoaderDelegate {
uint64_t upload_position,
uint64_t upload_size) override;
jam 2016/06/29 17:19:46 nit: here and below, no blank lines between overri
scottmg 2016/06/29 17:55:40 Done.
+ void DidGetResourceResponseStart(
+ int render_process_id,
+ int render_frame_host,
+ std::unique_ptr<ResourceRequestDetails> details) override;
+
+ void DidGetRedirectForResourceRequest(
+ int render_process_id,
+ int render_frame_host,
+ std::unique_ptr<ResourceRedirectDetails> details) override;
+
private:
void NotifyLoadStateChangedOnUI(int child_id,
int route_id,
@@ -27,6 +38,16 @@ class LoaderDelegateImpl : public LoaderDelegate {
const net::LoadStateWithParam& load_state,
uint64_t upload_position,
uint64_t upload_size);
+
+ void DidGetResourceResponseStartOnUI(
+ int render_process_id,
+ int render_frame_host,
+ std::unique_ptr<ResourceRequestDetails> details);
+
+ void DidGetRedirectForResourceRequestOnUI(
+ int render_process_id,
+ int render_frame_host,
+ std::unique_ptr<ResourceRedirectDetails> details);
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698