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

Unified Diff: chrome/browser/download/chrome_download_manager_delegate_unittest.cc

Issue 2402053002: Don't prompt for download location on Android (Closed)
Patch Set: Created 4 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
« no previous file with comments | « no previous file | chrome/browser/download/download_target_determiner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/chrome_download_manager_delegate_unittest.cc
diff --git a/chrome/browser/download/chrome_download_manager_delegate_unittest.cc b/chrome/browser/download/chrome_download_manager_delegate_unittest.cc
index 6d6c7ac3adc1a1cbbea11e818d3676fca73a4696..f0e21b7f2cf6efba764865861e02dad456bd629b 100644
--- a/chrome/browser/download/chrome_download_manager_delegate_unittest.cc
+++ b/chrome/browser/download/chrome_download_manager_delegate_unittest.cc
@@ -331,6 +331,8 @@ DownloadPrefs* ChromeDownloadManagerDelegateTest::download_prefs() {
} // namespace
+// There is no "save as" context menu option on Android.
+#if !BUILDFLAG(ANDROID_JAVA_UI)
TEST_F(ChromeDownloadManagerDelegateTest, StartDownload_LastSavePath) {
GURL download_url("http://example.com/foo.txt");
@@ -403,6 +405,7 @@ TEST_F(ChromeDownloadManagerDelegateTest, StartDownload_LastSavePath) {
VerifyAndClearExpectations();
}
}
+#endif // !BUILDFLAG(ANDROID_JAVA_UI)
TEST_F(ChromeDownloadManagerDelegateTest, MaybeDangerousContent) {
GURL url("http://example.com/foo");
« no previous file with comments | « no previous file | chrome/browser/download/download_target_determiner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698