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

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: build fix of desktop linux/win Created 6 years, 2 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 a3f4b7f1e677924e3847681da909a2b73f27f5b5..2c6cf5ae1e705727b566c2722285216d97f517fe 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