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

Unified Diff: chrome/browser/notifications/application_notifier_source.cc

Issue 2819413003: Refactor extension app icon. (Closed)
Patch Set: nit Created 3 years, 7 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
« no previous file with comments | « chrome/browser/notifications/application_notifier_source.h ('k') | chrome/browser/ui/app_icon_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/notifications/application_notifier_source.cc
diff --git a/chrome/browser/notifications/application_notifier_source.cc b/chrome/browser/notifications/application_notifier_source.cc
index 132b0f23bf0988e85b4cff652d14aa0174c1e032..77a9a2a74f0b0c0037ff8c527492d21e1fa79e34 100644
--- a/chrome/browser/notifications/application_notifier_source.cc
+++ b/chrome/browser/notifications/application_notifier_source.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/notifications/application_notifier_source.h"
#include "base/strings/utf_string_conversions.h"
+#include "chrome/browser/extensions/chrome_app_icon_loader.h"
#include "chrome/browser/notifications/notifier_state_tracker.h"
#include "chrome/browser/notifications/notifier_state_tracker_factory.h"
#include "chrome/browser/profiles/profile.h"
@@ -29,7 +30,7 @@ ApplicationNotifierSource::GetNotifierList(Profile* profile) {
// back to the default icon. The fetched icon will be resized in the
// settings dialog. See chrome/browser/extensions/extension_icon_image.cc
// and crbug.com/222931
- app_icon_loader_.reset(new extensions::ExtensionAppIconLoader(
+ app_icon_loader_.reset(new extensions::ChromeAppIconLoader(
profile, extension_misc::EXTENSION_ICON_SMALL, this));
for (extensions::ExtensionSet::const_iterator iter = extension_set.begin();
iter != extension_set.end(); ++iter) {
« no previous file with comments | « chrome/browser/notifications/application_notifier_source.h ('k') | chrome/browser/ui/app_icon_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698