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

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: 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
16 void LoadStateChanged(int child_id, 17 void LoadStateChanged(int child_id,
17 int route_id, 18 int route_id,
18 const GURL& url, 19 const GURL& url,
19 const net::LoadStateWithParam& load_state, 20 const net::LoadStateWithParam& load_state,
20 uint64_t upload_position, 21 uint64_t upload_position,
21 uint64_t upload_size) override; 22 uint64_t upload_size) override;
22 23
jam 2016/06/29 17:19:46 nit: here and below, no blank lines between overri
scottmg 2016/06/29 17:55:40 Done.
24 void DidGetResourceResponseStart(
25 int render_process_id,
26 int render_frame_host,
27 std::unique_ptr<ResourceRequestDetails> details) override;
28
29 void DidGetRedirectForResourceRequest(
30 int render_process_id,
31 int render_frame_host,
32 std::unique_ptr<ResourceRedirectDetails> details) override;
33
23 private: 34 private:
24 void NotifyLoadStateChangedOnUI(int child_id, 35 void NotifyLoadStateChangedOnUI(int child_id,
25 int route_id, 36 int route_id,
26 const GURL& url, 37 const GURL& url,
27 const net::LoadStateWithParam& load_state, 38 const net::LoadStateWithParam& load_state,
28 uint64_t upload_position, 39 uint64_t upload_position,
29 uint64_t upload_size); 40 uint64_t upload_size);
41
42 void DidGetResourceResponseStartOnUI(
43 int render_process_id,
44 int render_frame_host,
45 std::unique_ptr<ResourceRequestDetails> details);
46
47 void DidGetRedirectForResourceRequestOnUI(
48 int render_process_id,
49 int render_frame_host,
50 std::unique_ptr<ResourceRedirectDetails> details);
30 }; 51 };
31 52
32 } // namespace content 53 } // namespace content
33 54
34 #endif // CONTENT_BROWSER_LOADER_DELEGATE_IMPL_H_ 55 #endif // CONTENT_BROWSER_LOADER_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698