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

Unified Diff: components/password_manager/core/browser/facet_manager.h

Issue 1072413003: Add foundation for trimming the AffiliationDatabase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Keep noncontroversial parts. Created 5 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/password_manager/core/browser/facet_manager.h
diff --git a/components/password_manager/core/browser/facet_manager.h b/components/password_manager/core/browser/facet_manager.h
index 81c5fed94473a92b0d1d8e70287c8067bd0ee303..5e3ee77279e28fad52e7cff0e01727cbb8880108 100644
--- a/components/password_manager/core/browser/facet_manager.h
+++ b/components/password_manager/core/browser/facet_manager.h
@@ -58,6 +58,10 @@ class FacetManager {
// more meaningful state than a newly created instance would have.
bool CanBeDiscarded() const;
+ // Returns whether or not cached data for this facet can be discarded without
+ // harm when trimming the database.
+ bool CanCachedDataBeDiscarded() const;
+
// Returns whether or not affiliation information relating to this facet needs
// to be fetched right now.
bool DoesRequireFetch() const;

Powered by Google App Engine
This is Rietveld 408576698