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

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
« no previous file with comments | « content/browser/loader/DEPS ('k') | content/browser/loader/resource_dispatcher_host_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "net/base/load_states.h"
11
12 class GURL;
13
14 namespace content {
15
16 // Delegate from loader to the rest of content. Lives on the IO thread.
17 //
18 // This is used for breaking dependencies between content at-large and
19 // content/browser/loader which will eventually be moved to a separate
20 // networking service. All methods in this interface should be asynchronous,
21 // since eventually this will be a Mojo interface. See https://crbug.com/622050
22 // and https://crbug.com/598073.
23 class LoaderDelegate {
24 public:
25 virtual ~LoaderDelegate() {}
26
27 // Notification that the load state for the route identified by child_id and
28 // route_id has changed.
29 virtual void LoadStateChanged(int child_id,
30 int route_id,
31 const GURL& url,
32 const net::LoadStateWithParam& load_state,
33 uint64_t upload_position,
34 uint64_t upload_size) = 0;
35 };
36
37 } // namespace content
38
39 #endif // CONTENT_BROWSER_LOADER_LOADER_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/loader/DEPS ('k') | content/browser/loader/resource_dispatcher_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698