OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_EXTENSIONS_EXTENSION_PROTOCOLS_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PROTOCOLS_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PROTOCOLS_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PROTOCOLS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "net/url_request/url_request_job_factory.h" | 9 #include "net/url_request/url_request_job_factory.h" |
10 | 10 |
11 class ExtensionInfoMap; | 11 class ExtensionInfoMap; |
12 | 12 |
13 // Creates the handlers for the chrome-extension:// scheme. | 13 // Creates the handlers for the chrome-extension:// scheme. |
14 net::URLRequestJobFactory::ProtocolHandler* CreateExtensionProtocolHandler( | 14 net::URLRequestJobFactory::ProtocolHandler* CreateExtensionProtocolHandler( |
15 bool is_incognito, | 15 bool is_incognito, |
16 ExtensionInfoMap* extension_info_map); | 16 ExtensionInfoMap* extension_info_map); |
17 | 17 |
| 18 net::URLRequestJobFactory::ProtocolHandler* |
| 19 CreateExtensionResourceProtocolHandler( |
| 20 bool is_incognito, |
| 21 ExtensionInfoMap* extension_info_map); |
| 22 |
18 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROTOCOLS_H_ | 23 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROTOCOLS_H_ |
OLD | NEW |