summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_protocols.h
blob: fb69492a0b6a6aaa38d14e9b263f2b69e3f5ae65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PROTOCOLS_H_
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_PROTOCOLS_H_
#pragma once

#include "net/url_request/url_request_job_factory.h"

class ExtensionInfoMap;
class FilePath;

// Creates the handlers for the chrome-extension:// scheme.
net::URLRequestJobFactory::ProtocolHandler* CreateExtensionProtocolHandler(
    bool is_incognito,
    ExtensionInfoMap* extension_info_map);

#endif  // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROTOCOLS_H_