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

Side by Side 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, 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_LOADER_DELEGATE_IMPL_H_
6 #define CONTENT_BROWSER_LOADER_DELEGATE_IMPL_H_ 6 #define CONTENT_BROWSER_LOADER_DELEGATE_IMPL_H_
7 7
8 #include "content/browser/loader/loader_delegate.h" 8 #include "content/browser/loader/loader_delegate.h"
9 #include "content/common/content_export.h"
9 10
10 namespace content { 11 namespace content {
11 12
12 class LoaderDelegateImpl : public LoaderDelegate { 13 class CONTENT_EXPORT LoaderDelegateImpl : public LoaderDelegate {
13 public: 14 public:
14 ~LoaderDelegateImpl() override; 15 ~LoaderDelegateImpl() override;
15 16
17 // LoaderDelegate implementation:
16 void LoadStateChanged(int child_id, 18 void LoadStateChanged(int child_id,
17 int route_id, 19 int route_id,
18 const GURL& url, 20 const GURL& url,
19 const net::LoadStateWithParam& load_state, 21 const net::LoadStateWithParam& load_state,
20 uint64_t upload_position, 22 uint64_t upload_position,
21 uint64_t upload_size) override; 23 uint64_t upload_size) override;
22 24 void DidGetResourceResponseStart(
23 private: 25 int render_process_id,
24 void NotifyLoadStateChangedOnUI(int child_id, 26 int render_frame_host,
25 int route_id, 27 std::unique_ptr<ResourceRequestDetails> details) override;
26 const GURL& url, 28 void DidGetRedirectForResourceRequest(
27 const net::LoadStateWithParam& load_state, 29 int render_process_id,
28 uint64_t upload_position, 30 int render_frame_host,
29 uint64_t upload_size); 31 std::unique_ptr<ResourceRedirectDetails> details) override;
30 }; 32 };
31 33
32 } // namespace content 34 } // namespace content
33 35
34 #endif // CONTENT_BROWSER_LOADER_DELEGATE_IMPL_H_ 36 #endif // CONTENT_BROWSER_LOADER_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698