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

Unified Diff: chrome/browser/chromeos/power/peripheral_battery_observer.cc

Issue 580243004: Remove unnecessary image downloading handler of notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years, 3 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/chromeos/power/peripheral_battery_observer.cc
diff --git a/chrome/browser/chromeos/power/peripheral_battery_observer.cc b/chrome/browser/chromeos/power/peripheral_battery_observer.cc
index 5e4a7f3d80f9bd2f6205fe2e716b3a9157ebce94..135b1453c7c7e76206fc6d48c0e15c7070fcc610 100644
--- a/chrome/browser/chromeos/power/peripheral_battery_observer.cc
+++ b/chrome/browser/chromeos/power/peripheral_battery_observer.cc
@@ -79,11 +79,6 @@ class PeripheralBatteryNotificationDelegate : public NotificationDelegate {
virtual void Close(bool by_user) OVERRIDE {}
virtual void Click() OVERRIDE {}
virtual std::string id() const OVERRIDE { return id_; }
- // A NULL return value prevents loading image from URL. It is OK since our
- // implementation loads image from system resource bundle.
- virtual content::WebContents* GetWebContents() const OVERRIDE {
- return NULL;
- }
private:
virtual ~PeripheralBatteryNotificationDelegate() {}

Powered by Google App Engine
This is Rietveld 408576698