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

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

Issue 2442013003: Add non-host functionality to the previews blacklist (Closed)
Patch Set: tbansal comments 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_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 15aa73f3f9c104ddb354350f64471c207ed37687..a5629426db4c5aff8d4e7e5a6a4a312fc88a1fdd 100644
--- a/components/previews/core/previews_opt_out_store.h
+++ b/components/previews/core/previews_opt_out_store.h
@@ -22,21 +22,22 @@ namespace previews {
enum class PreviewsType {
NONE = 0,
OFFLINE = 1,
LAST = 2,
};
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() {}

Powered by Google App Engine
This is Rietveld 408576698