Index: chrome/browser/extensions/extension_protocol.h |
diff --git a/chrome/browser/extensions/extension_protocol.h b/chrome/browser/extensions/extension_protocol.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..54254db31edebea5fe6df99de3a67e02acceeb7e |
--- /dev/null |
+++ b/chrome/browser/extensions/extension_protocol.h |
@@ -0,0 +1,14 @@ |
+// 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. |
+ |
+#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 RegisterExtensionProtocol(); |