diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-09 21:30:28 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-09 21:30:28 +0000 |
commit | 13a96c981dc1dfc826e6592408e910d8284ccc52 (patch) | |
tree | a6ae1ea9aacd0444baa1071f18ebf94cf8fe31f9 /chrome/browser/extensions/extension_protocols.h | |
parent | 48db818ccf1a801cfaa7d718282633415d2fe3a8 (diff) | |
download | chromium_src-13a96c981dc1dfc826e6592408e910d8284ccc52.zip chromium_src-13a96c981dc1dfc826e6592408e910d8284ccc52.tar.gz chromium_src-13a96c981dc1dfc826e6592408e910d8284ccc52.tar.bz2 |
Rename extension_protocol* to extension_protocols*
Review URL: http://codereview.chromium.org/17433
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7836 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_protocols.h')
-rw-r--r-- | chrome/browser/extensions/extension_protocols.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_protocols.h b/chrome/browser/extensions/extension_protocols.h new file mode 100644 index 0000000..80fa654 --- /dev/null +++ b/chrome/browser/extensions/extension_protocols.h @@ -0,0 +1,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_PROTOCOLS_H_ +#define CHROME_BROWSER_EXTENSIONS_EXTENSION_PROTOCOLS_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_PROTOCOLS_H_ |