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

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

Issue 2098923002: Remove dependency of ResourceDispatcherHostImpl on RenderViewHostImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_LOADER_LOADER_DELEGATE_H_
6 #define CONTENT_BROWSER_LOADER_LOADER_DELEGATE_H_
7
8 #include <inttypes.h>
9
10 #include "content/browser/loader/global_routing_id.h"
jam 2016/06/28 16:23:49 nit: how about just sending child_id and route_id
scottmg 2016/06/28 18:33:38 Done.
11 #include "net/base/load_states.h"
12
13 class GURL;
14
15 namespace content {
16
17 // Delegate from loader to the rest of content. Lives on the IO thread.
jam 2016/06/28 16:23:49 nit: to help others understand how this differs fr
scottmg 2016/06/28 18:33:38 Done.
18 class LoaderDelegate {
19 public:
20 virtual ~LoaderDelegate() {}
21
22 virtual void LoadStateChanged(const GlobalRoutingID& routing_id,
jam 2016/06/28 16:23:49 nit: please document
scottmg 2016/06/28 18:33:38 Done.
23 const GURL& url,
24 const net::LoadStateWithParam& load_state,
25 uint64_t upload_position,
26 uint64_t upload_size) = 0;
27 };
28
29 } // namespace content
30
31 #endif // CONTENT_BROWSER_LOADER_LOADER_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698