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

Unified Diff: components/offline_pages/offline_page_model.cc

Issue 1986673002: [Offline Pages] Updated clearing logic in storage manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more comments. Created 4 years, 7 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.cc
diff --git a/components/offline_pages/offline_page_model.cc b/components/offline_pages/offline_page_model.cc
index 1d7a60c664dc883e500fe75a4907ee73351faf31..b4e916fe123cc1e6faefca9786fa95e4ad78bef2 100644
--- a/components/offline_pages/offline_page_model.cc
+++ b/components/offline_pages/offline_page_model.cc
@@ -620,8 +620,8 @@ void OfflinePageModel::OnLoadDone(
base::TimeTicks::Now() - start_time);
// Create Storage Manager.
- storage_manager_.reset(
- new OfflinePageStorageManager(this, GetPolicyController()));
+ storage_manager_.reset(new OfflinePageStorageManager(
+ this, GetPolicyController(), archive_manager_.get()));
// Run all the delayed tasks.
for (const auto& delayed_task : delayed_tasks_)
« no previous file with comments | « components/offline_pages/archive_manager.cc ('k') | components/offline_pages/offline_page_storage_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698