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 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PROTOCOLS_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PROTOCOLS_H_ 7 8 #include "net/url_request/url_request_job_factory.h" 9 10 namespace extensions { 11 class InfoMap; 12 } 13 14 // Creates the handlers for the chrome-extension:// scheme. 15 net::URLRequestJobFactory::ProtocolHandler* CreateExtensionProtocolHandler( 16 bool is_incognito, 17 extensions::InfoMap* extension_info_map); 18 19 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROTOCOLS_H_ 20