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

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

Issue 2442013003: Add non-host functionality to the previews blacklist (Closed)
Patch Set: rebase and test Created 4 years, 1 month 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_opt_out_store.h
diff --git a/components/previews/core/previews_opt_out_store.h b/components/previews/core/previews_opt_out_store.h
index 5e078686c03328924b8feff41af47639bba29191..7f81e3a50d710e9651d10bf96cdc1c6db0b2b7db 100644
--- a/components/previews/core/previews_opt_out_store.h
+++ b/components/previews/core/previews_opt_out_store.h
@@ -17,21 +17,22 @@
#include "components/previews/core/previews_black_list_item.h"
#include "components/previews/core/previews_experiments.h"
class GURL;
namespace previews {
typedef std::unordered_map<std::string, std::unique_ptr<PreviewsBlackListItem>>
BlackListItemMap;
-typedef base::Callback<void(std::unique_ptr<BlackListItemMap>)>
+typedef base::Callback<void(std::unique_ptr<BlackListItemMap>,
+ std::unique_ptr<PreviewsBlackListItem>)>
LoadBlackListCallback;
// PreviewsOptOutStore keeps opt out information for the previews.
// Ability to create multiple instances of the store as well as behavior of
// asynchronous operations when the object is being destroyed, before such
// operation finishes will depend on implementation. It is possible to issue
// multiple asynchronous operations in parallel and maintain ordering.
class PreviewsOptOutStore {
public:
virtual ~PreviewsOptOutStore() {}
« no previous file with comments | « components/previews/core/previews_experiments.cc ('k') | components/previews/core/previews_opt_out_store_sql.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698