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

Unified Diff: components/offline_pages/offline_page_model_impl.h

Issue 2342443006: [Offline pages] Use the new policy bits (Closed)
Patch Set: fix download bridge and ntp suggestions to use correct policy controller 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: 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 78f2bd31ddbf7c67ae926acc3000646a245240bc..eace8ebf557cd30a02bfef2fc37b4653df933f9a 100644
--- a/components/offline_pages/offline_page_model_impl.h
+++ b/components/offline_pages/offline_page_model_impl.h
@@ -257,8 +257,8 @@ class OfflinePageModelImpl : public OfflinePageModel, public KeyedService {
// Post task to clear storage.
void PostClearStorageIfNeededTask();
- // Check if |offline_page| is user-requested.
- bool IsUserRequestedPage(const OfflinePageItem& offline_page) const;
+ // Check if |offline_page| should be removed on cache reset by user.
+ bool IsRemovedOnCacheReset(const OfflinePageItem& offline_page) const;
void RunWhenLoaded(const base::Closure& job);

Powered by Google App Engine
This is Rietveld 408576698