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

Unified Diff: chrome/browser/android/offline_pages/recent_tab_helper.h

Issue 2561163002: Fix snapshots from Downloads being deleted by last_n. (Closed)
Patch Set: Minor test simplification. Created 4 years 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/android/offline_pages/recent_tab_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/offline_pages/recent_tab_helper.h
diff --git a/chrome/browser/android/offline_pages/recent_tab_helper.h b/chrome/browser/android/offline_pages/recent_tab_helper.h
index d150d90fa9b061f502beafd842c2d9b14eb3a4fc..94c69e4ff1bd586eb30f75bfb41957955e2ebe7a 100644
--- a/chrome/browser/android/offline_pages/recent_tab_helper.h
+++ b/chrome/browser/android/offline_pages/recent_tab_helper.h
@@ -98,7 +98,6 @@ class RecentTabHelper
void ContinueSnapshotAfterPurge(OfflinePageModel::DeletePageResult result);
void SavePageCallback(OfflinePageModel::SavePageResult result,
int64_t offline_id);
- void PreviousSaveWasPurged(OfflinePageModel::DeletePageResult result);
void ReportSnapshotCompleted();
void ReportDownloadStatusToRequestCoordinator();
bool IsSamePage() const;
@@ -120,10 +119,6 @@ class RecentTabHelper
// current page.
std::unique_ptr<DownloadPageInfo> download_info_;
- // Stores the request/offline ID of successful snapshots that happened during
- // a single ongoing page load.
- int64_t previous_request_id_for_load_;
-
// If empty, the tab does not have AndroidId and can not capture pages.
std::string tab_id_;
« no previous file with comments | « no previous file | chrome/browser/android/offline_pages/recent_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698