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

Unified Diff: components/offline_pages/offline_page_model_impl.h

Issue 2342443006: [Offline pages] Use the new policy bits (Closed)
Patch Set: also rename isUserRequested in offline page model impl 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 521893111dadb3ccd1694dfcfdf25f215b43179c..ea36b27a06f97fbe80f70cada98c8fefc9f3cff5 100644
--- a/components/offline_pages/offline_page_model_impl.h
+++ b/components/offline_pages/offline_page_model_impl.h
@@ -259,7 +259,7 @@ class OfflinePageModelImpl : public OfflinePageModel, public KeyedService {
void PostClearStorageIfNeededTask();
// Check if |offline_page| is user-requested.
romax 2016/09/19 23:00:24 I think the function name change would also affect
chili 2016/09/20 00:02:33 Updated comment. I'm inclined to keep the name as
- bool IsUserRequestedPage(const OfflinePageItem& offline_page) const;
+ bool IsRemovedOnCacheReset(const OfflinePageItem& offline_page) const;
Pete Williamson 2016/09/20 00:01:59 Drive-by: Why rename the function? While the con
chili 2016/09/20 00:06:21 This came from comment on the original policy-bit
romax 2016/09/20 00:19:01 It seems that we can get rid of this method and us
void RunWhenLoaded(const base::Closure& job);

Powered by Google App Engine
This is Rietveld 408576698