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

Unified Diff: chrome/browser/download/notification/download_notification_item.h

Issue 1126343006: Open the learn more page when user clicks a notification of malicious download (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 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 | « no previous file | chrome/browser/download/notification/download_notification_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/notification/download_notification_item.h
diff --git a/chrome/browser/download/notification/download_notification_item.h b/chrome/browser/download/notification/download_notification_item.h
index 48ac18b5372f07a834c49858080f07d318aace1c..76fb48b9e5a7e4c9d8b96d5f6850b98f4ec504be 100644
--- a/chrome/browser/download/notification/download_notification_item.h
+++ b/chrome/browser/download/notification/download_notification_item.h
@@ -102,9 +102,9 @@ class DownloadNotificationItem : public content::DownloadItem::Observer {
Browser* GetBrowser();
- scoped_ptr<std::vector<DownloadCommands::Command>> GetPossibleActions() const;
+ // Returns the list of possible extra (all except the default) actions.
+ scoped_ptr<std::vector<DownloadCommands::Command>> GetExtraActions() const;
- bool openable_ = false;
int image_resource_id_ = 0;
content::DownloadItem::DownloadState previous_download_state_ =
content::DownloadItem::MAX_DOWNLOAD_STATE; // As uninitialized state
« no previous file with comments | « no previous file | chrome/browser/download/notification/download_notification_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698