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

Side by Side Diff: chrome/browser/extensions/extension_protocols.h

Issue 9909019: Add schema chrome-extension-resource:// for extension resources (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update Created 8 years, 8 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698