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/browser/utility_process_host_unittest.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/browser/utility_process_host_unittest.cc')
-rw-r--r-- | chrome/browser/utility_process_host_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/utility_process_host_unittest.cc b/chrome/browser/utility_process_host_unittest.cc index 950c596..44fb0f8 100644 --- a/chrome/browser/utility_process_host_unittest.cc +++ b/chrome/browser/utility_process_host_unittest.cc @@ -43,7 +43,8 @@ class TestUtilityProcessHostClient : public UtilityProcessHost::Client { NOTREACHED(); } - virtual void OnUnpackExtensionSucceeded(const DictionaryValue& manifest) { + virtual void OnUnpackExtensionSucceeded(const DictionaryValue& manifest, + const DictionaryValue& catalogs) { success_ = true; } |