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

Side by Side Diff: content/browser/content_resource_dispatcher_host.h

Issue 1960743002: Remove dependency of AsyncResourceLoader on content/browser/host_zoom_map_impl.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@devtoolsnetlog-loader
Patch Set: missed override Created 4 years, 7 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_CONTENT_RESOURCE_DISPATCHER_HOST_H_
6 #define CONTENT_BROWSER_CONTENT_RESOURCE_DISPATCHER_HOST_H_
7
8 #include "base/macros.h"
9 #include "content/browser/content_resource_dispatcher_host_delegate.h"
10 #include "content/public/browser/resource_dispatcher_host.h"
11
12 namespace content {
13
14 class ResourceDispatcherHostImpl;
15
16 // Wrapper around ResourceDispatcherHostImpl that wraps a
17 // ContentResourceDispatcherHostDelegate around the
18 // ResourceDispatcherHostDelegate supplied by the content client.
19 class ContentResourceDispatcherHost : public ResourceDispatcherHost {
20 public:
21 ContentResourceDispatcherHost();
22 ~ContentResourceDispatcherHost() override;
23
24 void SetChild(ResourceDispatcherHostImpl* child);
25
26 // ResourceDispatcherHost:
27 void SetDelegate(ResourceDispatcherHostDelegate* delegate) override;
28 void SetAllowCrossOriginAuthPrompt(bool value) override;
29 void ClearLoginDelegateForRequest(net::URLRequest* request) override;
30
31 private:
32 ResourceDispatcherHostImpl* child_;
33 std::unique_ptr<ContentResourceDispatcherHostDelegate>
34 content_resource_dispatcher_host_delegate_;
35
36 DISALLOW_COPY_AND_ASSIGN(ContentResourceDispatcherHost);
37 };
38
39 } // content
40
41 #endif // CONTENT_BROWSER_CONTENT_RESOURCE_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/browser/content_resource_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698