Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Unified Diff: chrome/common/extensions/api/i18n/default_locale_manifest_unittest.cc

Issue 12253022: Manifest handler for all keys background-related. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/i18n/default_locale_manifest_unittest.cc
diff --git a/chrome/common/extensions/api/i18n/default_locale_manifest_unittest.cc b/chrome/common/extensions/api/i18n/default_locale_manifest_unittest.cc
index c387d8a3b89d2c7d468059856c6d6b6d21368b20..94587b313d4ddc8c0aa506a147d0facdb2e6ba91 100644
--- a/chrome/common/extensions/api/i18n/default_locale_manifest_unittest.cc
+++ b/chrome/common/extensions/api/i18n/default_locale_manifest_unittest.cc
@@ -4,7 +4,6 @@
#include "chrome/common/extensions/api/i18n/default_locale_handler.h"
#include "chrome/common/extensions/extension_manifest_constants.h"
-#include "chrome/common/extensions/manifest_handler.h"
#include "chrome/common/extensions/manifest_tests/extension_manifest_test.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -13,8 +12,7 @@ namespace extensions {
class DefaultLocaleManifestTest : public ExtensionManifestTest {
virtual void SetUp() OVERRIDE {
ExtensionManifestTest::SetUp();
- ManifestHandler::Register(extension_manifest_keys::kDefaultLocale,
- make_linked_ptr(new DefaultLocaleHandler));
+ (new DefaultLocaleHandler)->Register();
}
};
« no previous file with comments | « chrome/common/extensions/api/i18n/default_locale_handler.cc ('k') | chrome/common/extensions/api/icons/icons_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698