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

Unified Diff: components/offline_pages/offline_page_model_impl.h

Issue 2342443006: [Offline pages] Use the new policy bits (Closed)
Patch Set: i think i got it! Made sure it compiles Created 4 years, 2 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 519f2b2b5d4b495a48fabc5d5295eef4c143d850..4d6f4d438471e57dbf8afee9d2a666f8907ee895 100644
--- a/components/offline_pages/offline_page_model_impl.h
+++ b/components/offline_pages/offline_page_model_impl.h
@@ -247,8 +247,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