Chromium Code Reviews| Index: chrome/common/extensions/unpacker_unittest.cc |
| diff --git a/chrome/common/extensions/unpacker_unittest.cc b/chrome/common/extensions/unpacker_unittest.cc |
| index bbb8b55a6a6a88dbf524cb883e09008b860eaf6d..5cd202e654764de593b7c6ff19848679c8b3cd0d 100644 |
| --- a/chrome/common/extensions/unpacker_unittest.cc |
| +++ b/chrome/common/extensions/unpacker_unittest.cc |
| @@ -9,8 +9,10 @@ |
| #include "base/utf_string_conversions.h" |
| #include "base/values.h" |
| #include "chrome/common/chrome_paths.h" |
| +#include "chrome/common/extensions/api/i18n/default_locale_handler.h" |
| #include "chrome/common/extensions/extension_constants.h" |
| #include "chrome/common/extensions/extension_manifest_constants.h" |
| +#include "chrome/common/extensions/manifest_handler.h" |
| #include "chrome/common/extensions/unpacker.h" |
| #include "testing/gtest/include/gtest/gtest.h" |
| #include "third_party/skia/include/core/SkBitmap.h" |
| @@ -29,6 +31,11 @@ public: |
| LOG(WARNING) << temp_dir_.Delete(); |
| } |
| + virtual void SetUp() OVERRIDE { |
|
Devlin
2013/01/18 21:08:46
Call the super's SetUp().
Joe Thomas
2013/01/18 22:16:57
Done.
|
| + extensions::ManifestHandler::Register(keys::kDefaultLocale, |
| + new extensions::DefaultLocaleHandler); |
| + } |
| + |
| void SetupUnpacker(const std::string& crx_name) { |
| FilePath original_path; |
| ASSERT_TRUE(PathService::Get(chrome::DIR_TEST_DATA, &original_path)); |