blob: 49bda1750cc0097214f4f18bd9fa90369f621f69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright (c) 2006-2008 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_PROTOCOL_H_
#define CHROME_BROWSER_EXTENSIONS_EXTENSION_PROTOCOL_H_
#include "base/file_path.h"
// Gets a FilePath for a resource inside an extension. |extension_path| is the
// full path to the extension directory. |resource_path| is the path to the
// resource from the extension root, including the leading '/'.
FilePath GetPathForExtensionResource(const FilePath& extension_path,
const std::string& resource_path);
// Registers support for the extension URL scheme.
void RegisterExtensionProtocols();
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROTOCOL_H_
|