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

Unified Diff: chrome/browser/extensions/api/icons/icons_api.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/api/icons/icons_api.cc
diff --git a/chrome/browser/extensions/api/icons/icons_api.cc b/chrome/browser/extensions/api/icons/icons_api.cc
index e3b6c895373c21224293e8eb2a55baca8733b5f1..16d42fdc327d58b6678a10cb006a7b0e7af45e96 100644
--- a/chrome/browser/extensions/api/icons/icons_api.cc
+++ b/chrome/browser/extensions/api/icons/icons_api.cc
@@ -21,8 +21,7 @@ ProfileKeyedAPIFactory<IconsAPI>* IconsAPI::GetFactoryInstance() {
}
IconsAPI::IconsAPI(Profile* profile) {
- ManifestHandler::Register(extension_manifest_keys::kIcons,
- make_linked_ptr(new IconsHandler));
+ (new IconsHandler)->Register();
}
IconsAPI::~IconsAPI() {
« no previous file with comments | « chrome/browser/extensions/api/i18n/i18n_api.cc ('k') | chrome/browser/extensions/api/identity/identity_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698