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

Unified Diff: chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.cc

Issue 2684973014: Only show Last N Pages in the UI when the corresponding tab is visible. (Closed)
Patch Set: Move impl out Created 3 years, 10 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/offline_pages/downloads/offline_page_download_bridge.cc
diff --git a/chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.cc b/chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.cc
index d7ef68da8e7b52ea94767a452fff64b193746b81..1e4fcdd698d261925bd4a6cf9ab6666309ef516e 100644
--- a/chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.cc
+++ b/chrome/browser/android/offline_pages/downloads/offline_page_download_bridge.cc
@@ -58,6 +58,7 @@ class DownloadUIAdapterDelegate : public DownloadUIAdapter::Delegate {
// DownloadUIAdapter::Delegate
bool IsVisibleInUI(const ClientId& client_id) override;
bool IsTemporarilyHiddenInUI(const ClientId& client_id) override;
+ void SetUIAdapter(DownloadUIAdapter* ui_adapter) override;
private:
// Not owned, cached service pointer.
@@ -78,6 +79,8 @@ bool DownloadUIAdapterDelegate::IsTemporarilyHiddenInUI(
return false;
}
+void DownloadUIAdapterDelegate::SetUIAdapter(DownloadUIAdapter* ui_adapter) {}
+
// TODO(dewittj): Move to Download UI Adapter.
content::WebContents* GetWebContentsFromJavaTab(
const ScopedJavaGlobalRef<jobject>& j_tab_ref) {

Powered by Google App Engine
This is Rietveld 408576698