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

Unified Diff: chrome/browser/extensions/startup_helper.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/browser/extensions/startup_helper.cc
diff --git a/chrome/browser/extensions/startup_helper.cc b/chrome/browser/extensions/startup_helper.cc
index f815502046b3b2405114ce29f6ac2a295500c798..a0add61c4f60563d4ad5f2b088a1e680740a2eb5 100644
--- a/chrome/browser/extensions/startup_helper.cc
+++ b/chrome/browser/extensions/startup_helper.cc
@@ -16,8 +16,6 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/common/extensions/api/i18n/default_locale_handler.h"
#include "chrome/common/extensions/extension.h"
-#include "chrome/common/extensions/extension_manifest_constants.h"
-#include "chrome/common/extensions/manifest_handler.h"
#include "content/public/browser/web_contents.h"
#include "ipc/ipc_message.h"
@@ -32,8 +30,7 @@ void PrintPackExtensionMessage(const std::string& message) {
namespace extensions {
StartupHelper::StartupHelper() : pack_job_succeeded_(false) {
- ManifestHandler::Register(extension_manifest_keys::kDefaultLocale,
- make_linked_ptr(new DefaultLocaleHandler));
+ (new DefaultLocaleHandler)->Register();
}
void StartupHelper::OnPackSuccess(

Powered by Google App Engine
This is Rietveld 408576698