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

Unified Diff: chrome/browser/android/download/download_manager_service.h

Issue 2343363005: [Download Home] Open supported files in Custom Tabs (Closed)
Patch Set: Comments Created 4 years, 3 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/android/download/download_manager_service.h
diff --git a/chrome/browser/android/download/download_manager_service.h b/chrome/browser/android/download/download_manager_service.h
index 67001595245afe96f693bac452922915b2e136f5..8c320e45bf81a3815d457e38e29355b50e1d3e2f 100644
--- a/chrome/browser/android/download/download_manager_service.h
+++ b/chrome/browser/android/download/download_manager_service.h
@@ -67,6 +67,12 @@ class DownloadManagerService : public AllDownloadItemNotifier::Observer,
const JavaParamRef<jstring>& jdownload_guid,
bool is_off_the_record);
+ // Returns whether or not the given download can be opened by the browser.
+ bool IsDownloadOpenableInBrowser(JNIEnv* env,
+ jobject obj,
+ const JavaParamRef<jstring>& jdownload_guid,
+ bool is_off_the_record);
+
// Called to request that the DownloadManagerService return data about all
// downloads in the user's history.
void GetAllDownloads(JNIEnv* env,

Powered by Google App Engine
This is Rietveld 408576698