diff options
author | cira@chromium.org <cira@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 18:02:47 +0000 |
---|---|---|
committer | cira@chromium.org <cira@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-18 18:02:47 +0000 |
commit | 9428edc493bf5097cc74fca5fcaf4506c4068668 (patch) | |
tree | a5db8e196a4e71c71d54ded4c552b2a4d8c50361 /chrome/utility/utility_thread.cc | |
parent | ecc73b2f562a20611804cc07dcff59922dbd09b4 (diff) | |
download | chromium_src-9428edc493bf5097cc74fca5fcaf4506c4068668.zip chromium_src-9428edc493bf5097cc74fca5fcaf4506c4068668.tar.gz chromium_src-9428edc493bf5097cc74fca5fcaf4506c4068668.tar.bz2 |
Parse messages.json in ExtensionUnpacker (like we do for manifest) and pass them to sandboxed_extension_unpacker.
Added unittest files for unpacker and sandboxed unpacker.
TEST=Try loading any of the unpacker samples added in this CL. They should either pass, or show error and fail.
BUG=27362
Review URL: http://codereview.chromium.org/390019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32345 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/utility/utility_thread.cc')
-rw-r--r-- | chrome/utility/utility_thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/utility/utility_thread.cc b/chrome/utility/utility_thread.cc index 9c6912c..2c59887 100644 --- a/chrome/utility/utility_thread.cc +++ b/chrome/utility/utility_thread.cc @@ -31,7 +31,7 @@ void UtilityThread::OnUnpackExtension(const FilePath& extension_path) { ExtensionUnpacker unpacker(extension_path); if (unpacker.Run() && unpacker.DumpImagesToFile()) { Send(new UtilityHostMsg_UnpackExtension_Succeeded( - *unpacker.parsed_manifest())); + *unpacker.parsed_manifest(), *unpacker.parsed_catalogs())); } else { Send(new UtilityHostMsg_UnpackExtension_Failed(unpacker.error_message())); } |