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

Unified Diff: chrome/browser/download/download_commands.h

Issue 1084123004: [Downloads] Add context parameter to help center article URL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/download_commands.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_commands.h
diff --git a/chrome/browser/download/download_commands.h b/chrome/browser/download/download_commands.h
index d6849b41beff9b40af8dec29b79d1660f7d78874..3ecfa0882d668ff00deb11c1d78e67621eb632f2 100644
--- a/chrome/browser/download/download_commands.h
+++ b/chrome/browser/download/download_commands.h
@@ -5,8 +5,8 @@
#ifndef CHROME_BROWSER_DOWNLOAD_DOWNLOAD_COMMANDS_H_
#define CHROME_BROWSER_DOWNLOAD_DOWNLOAD_COMMANDS_H_
+#include "base/gtest_prod_util.h"
#include "base/strings/string16.h"
-
#include "chrome/browser/ui/browser.h"
#include "content/public/browser/download_item.h"
#include "content/public/browser/page_navigator.h"
@@ -47,11 +47,13 @@ class DownloadCommands {
#endif
private:
- Browser* GetBrowser() const;
+ FRIEND_TEST_ALL_PREFIXES(
+ DownloadCommandsTest,
+ GetLearnMoreURLForInterruptedDownload_ContainsContext);
- int GetCommandIconId(Command command);
-
- int GetAlwaysOpenStringId() const;
+ Browser* GetBrowser() const;
+ int GetCommandIconId(Command command) const;
+ GURL GetLearnMoreURLForInterruptedDownload() const;
content::DownloadItem* const download_item_;
};
« no previous file with comments | « no previous file | chrome/browser/download/download_commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698