summaryrefslogtreecommitdiffstats
path: root/chrome/browser/background
diff options
context:
space:
mode:
authormukai <mukai@chromium.org>2014-10-16 18:10:48 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-17 01:11:05 +0000
commit523714fe51f36b7b850722e760619119e479d081 (patch)
tree207b521f8e2d07ad23ca4a8060c4b81f9f06531f /chrome/browser/background
parent2d6e305a6dbed90249c9be9225bb1b98a793f25a (diff)
downloadchromium_src-523714fe51f36b7b850722e760619119e479d081.zip
chromium_src-523714fe51f36b7b850722e760619119e479d081.tar.gz
chromium_src-523714fe51f36b7b850722e760619119e479d081.tar.bz2
Remove unnecessary image downloading handler of notifications.
The image_url, small_image_url, and the button urls are never set in the current code base. Removing these URLs also means removing the ImageDownloads of MessageCenterNotificationManager, and also means removing unnecessary methods of NotificationDelegate. I think NotificationDelegate::id() can be removed and then we can completely remove ::NotificationDelegate class for now, but that would be done in another CL. This CL depends on https://codereview.chromium.org/554213003/ BUG=None R=dewittj@chromium.org, peter@chromium.org TBR=atwilson@chromium.org, vitalybuka@chromium.org, tapted@chromium.org, oshima@chromium.org TEST=no functional changes, build succeeds Review URL: https://codereview.chromium.org/580243004 Cr-Commit-Position: refs/heads/master@{#300032}
Diffstat (limited to 'chrome/browser/background')
-rw-r--r--chrome/browser/background/background_contents_service.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/background/background_contents_service.cc b/chrome/browser/background/background_contents_service.cc
index fc49ec0..b0c954f 100644
--- a/chrome/browser/background/background_contents_service.cc
+++ b/chrome/browser/background/background_contents_service.cc
@@ -147,10 +147,6 @@ class CrashNotificationDelegate : public NotificationDelegate {
return kNotificationPrefix + extension_id_;
}
- virtual content::WebContents* GetWebContents() const override {
- return NULL;
- }
-
private:
virtual ~CrashNotificationDelegate() {}