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

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: fixes 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..887347b0e6921c8edf84b2bb8c96ec3c4a600247 100644
--- a/content/browser/loader_delegate_impl.h
+++ b/content/browser/loader_delegate_impl.h
@@ -6,27 +6,29 @@
#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;
+ // LoaderDelegate implementation:
void LoadStateChanged(int child_id,
int route_id,
const GURL& url,
const net::LoadStateWithParam& load_state,
uint64_t upload_position,
uint64_t upload_size) override;
-
- private:
- void NotifyLoadStateChangedOnUI(int child_id,
- int route_id,
- const GURL& url,
- const net::LoadStateWithParam& load_state,
- uint64_t upload_position,
- uint64_t upload_size);
+ 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;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698