OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_LOADER_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_LOADER_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ |
6 #define CHROME_BROWSER_LOADER_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ | 6 #define CHROME_BROWSER_LOADER_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <set> | 10 #include <set> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "chrome/browser/external_protocol/external_protocol_handler.h" | 15 #include "chrome/browser/external_protocol/external_protocol_handler.h" |
16 #include "content/public/browser/resource_dispatcher_host_delegate.h" | 16 #include "content/public/browser/resource_dispatcher_host_delegate.h" |
17 #include "extensions/features/features.h" | 17 #include "extensions/features/features.h" |
18 | 18 |
19 class DelayedResourceQueue; | |
20 class DownloadRequestLimiter; | 19 class DownloadRequestLimiter; |
21 | 20 |
22 namespace content { | 21 namespace content { |
23 class NavigationData; | 22 class NavigationData; |
24 } | 23 } |
25 | 24 |
26 namespace extensions { | 25 namespace extensions { |
27 class UserScriptListener; | 26 class UserScriptListener; |
28 } | 27 } |
29 | 28 |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_; | 117 scoped_refptr<safe_browsing::SafeBrowsingService> safe_browsing_; |
119 #if BUILDFLAG(ENABLE_EXTENSIONS) | 118 #if BUILDFLAG(ENABLE_EXTENSIONS) |
120 scoped_refptr<extensions::UserScriptListener> user_script_listener_; | 119 scoped_refptr<extensions::UserScriptListener> user_script_listener_; |
121 std::map<net::URLRequest*, StreamTargetInfo> stream_target_info_; | 120 std::map<net::URLRequest*, StreamTargetInfo> stream_target_info_; |
122 #endif | 121 #endif |
123 | 122 |
124 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); | 123 DISALLOW_COPY_AND_ASSIGN(ChromeResourceDispatcherHostDelegate); |
125 }; | 124 }; |
126 | 125 |
127 #endif // CHROME_BROWSER_LOADER_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ | 126 #endif // CHROME_BROWSER_LOADER_CHROME_RESOURCE_DISPATCHER_HOST_DELEGATE_H_ |
OLD | NEW |