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

Unified Diff: components/offline_pages/offline_page_model_impl.h

Issue 2041983006: [Offline Pages] Filtering expired pages and fix consistency check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: components/offline_pages/offline_page_model_impl.h
diff --git a/components/offline_pages/offline_page_model_impl.h b/components/offline_pages/offline_page_model_impl.h
index 34dc791d037ef563ea8491da5d7d75bb110309e2..940830f956aa11ebdb149160e53a403740dc95f2 100644
--- a/components/offline_pages/offline_page_model_impl.h
+++ b/components/offline_pages/offline_page_model_impl.h
@@ -196,9 +196,10 @@ class OfflinePageModelImpl : public OfflinePageModel, public KeyedService {
// Callbacks for checking if offline pages are missing archive files.
void ScanForMissingArchiveFiles(
const std::set<base::FilePath>& archive_paths);
- void OnRemoveOfflinePagesMissingArchiveFileDone(
- const std::vector<std::pair<int64_t, ClientId>>& offline_client_id_pairs,
- DeletePageResult result);
+ void OnDeleteHeadlessArchivesDone(const std::vector<base::FilePath>& archives,
fgorski 2016/06/07 22:46:15 Please explain what "headless" means here and why
romax 2016/06/08 01:31:26 added some explaination in comment..I'm choosing h
+ bool success);
+ void OnExpireArchivelessFilesDone(const std::vector<int64_t>& offline_ids,
+ bool success);
// Steps for clearing all.
void OnRemoveAllFilesDoneForClearAll(const base::Closure& callback,

Powered by Google App Engine
This is Rietveld 408576698