summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_protocols.h
blob: 67b634ae7eaec7c5391a8843d0146ff1f8964d02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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;

// 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_