OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_NET_CHROME_EXTENSIONS_NETWORK_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_NET_CHROME_EXTENSIONS_NETWORK_DELEGATE_H_ |
6 #define CHROME_BROWSER_NET_CHROME_EXTENSIONS_NETWORK_DELEGATE_H_ | 6 #define CHROME_BROWSER_NET_CHROME_EXTENSIONS_NETWORK_DELEGATE_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "net/base/network_delegate_impl.h" | 11 #include "net/base/network_delegate_impl.h" |
12 | 12 |
13 namespace extensions { | 13 namespace extensions { |
14 class EventRouterForwarder; | 14 class EventRouterForwarder; |
15 class InfoMap; | 15 class InfoMap; |
16 } | 16 } |
17 | 17 |
18 // ChromeExtensionsNetworkDelegate is the extensions-only portion of | 18 // ChromeExtensionsNetworkDelegate is the extensions-only portion of |
19 // ChromeNetworkDelegate. When extensions are disabled, do nothing. | 19 // ChromeNetworkDelegate. When extensions are disabled, do nothing. |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 void* profile_; | 76 void* profile_; |
77 | 77 |
78 #if defined(ENABLE_EXTENSIONS) | 78 #if defined(ENABLE_EXTENSIONS) |
79 scoped_refptr<extensions::InfoMap> extension_info_map_; | 79 scoped_refptr<extensions::InfoMap> extension_info_map_; |
80 #endif | 80 #endif |
81 | 81 |
82 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsNetworkDelegate); | 82 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsNetworkDelegate); |
83 }; | 83 }; |
84 | 84 |
85 #endif // CHROME_BROWSER_NET_CHROME_EXTENSIONS_NETWORK_DELEGATE_H_ | 85 #endif // CHROME_BROWSER_NET_CHROME_EXTENSIONS_NETWORK_DELEGATE_H_ |
OLD | NEW |