Index: chrome/browser/component_updater/component_unpacker.h |
diff --git a/chrome/browser/component_updater/component_unpacker.h b/chrome/browser/component_updater/component_unpacker.h |
index 6ae7277c2ccf232bcd1624772b41180507be7afd..903b495e115c42b0cd90021ee4f50751bc7ab788 100644 |
--- a/chrome/browser/component_updater/component_unpacker.h |
+++ b/chrome/browser/component_updater/component_unpacker.h |
@@ -9,10 +9,16 @@ |
#include <vector> |
#include "base/basictypes.h" |
#include "base/files/file_path.h" |
+#include "base/json/json_file_value_serializer.h" |
+#include "base/memory/scoped_ptr.h" |
class ComponentInstaller; |
class ComponentPatcher; |
+// Deserializes the CRX manifest. The top level must be a dictionary. |
+scoped_ptr<base::DictionaryValue> ReadManifest( |
+ const base::FilePath& unpack_path); |
+ |
// In charge of unpacking the component CRX package and verifying that it is |
// well formed and the cryptographic signature is correct. If there is no |
// error the component specific installer will be invoked to proceed with |