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

Unified Diff: components/previews/core/previews_experiments.h

Issue 2439203002: Adding a short blacklist period after every previews opt out (Closed)
Patch Set: tbansal commetns 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/previews/core/previews_experiments.h
diff --git a/components/previews/core/previews_experiments.h b/components/previews/core/previews_experiments.h
index 520b45fb65b6cd678159521bb8364288215eab80..410e163924b3a59147c9f1eb846d00eb6567b17a 100644
--- a/components/previews/core/previews_experiments.h
+++ b/components/previews/core/previews_experiments.h
@@ -18,20 +18,23 @@ size_t MaxStoredHistoryLengthForBlackList();
// The maximum number of hosts allowed in the in memory black list.
size_t MaxInMemoryHostsInBlackList();
// The number of recent navigations that were opted out of that would trigger
// the host to be blacklisted.
int BlackListOptOutThreshold();
// The amount of time a host remains blacklisted due to opt outs.
base::TimeDelta BlackListDuration();
+// The amount of time after any opt out that no previews should be shown.
+base::TimeDelta SingleOptOutDuration();
+
} // namespace params
enum class PreviewsType {
NONE = 0,
OFFLINE = 1,
LAST = 2,
};
// Returns true if any client-side previews experiment is active.
bool IsIncludedInClientSidePreviewsExperimentsFieldTrial();
« no previous file with comments | « components/previews/core/previews_black_list_unittest.cc ('k') | components/previews/core/previews_experiments.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698