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

Unified Diff: chrome/browser/ntp_snippets/ntp_snippets_features.h

Issue 2606753002: Post notification after fetching articles (Closed)
Patch Set: Add TODO. Created 3 years, 11 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: chrome/browser/ntp_snippets/ntp_snippets_features.h
diff --git a/chrome/browser/ntp_snippets/ntp_snippets_features.h b/chrome/browser/ntp_snippets/ntp_snippets_features.h
new file mode 100644
index 0000000000000000000000000000000000000000..02a33f6a938194f8767b6ee8a3b361b8f877c2af
--- /dev/null
+++ b/chrome/browser/ntp_snippets/ntp_snippets_features.h
@@ -0,0 +1,17 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
fhorschig 2017/01/05 13:24:35 Do we need that new file because browser features
sfiera 2017/01/05 13:35:01 I don't think that notifications features belong t
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_NTP_SNIPPETS_NTP_SNIPPETS_FEATURES_H_
+#define CHROME_BROWSER_NTP_SNIPPETS_NTP_SNIPPETS_FEATURES_H_
+
+#include "base/feature_list.h"
+
+// Enables and configures notifications for content suggestions.
+extern const base::Feature kContentSuggestionsNotificationsFeature;
+
+// "false": use server signals to decide whether to send a notification
+// "true": always send a notification when we receive ARTICLES suggestions
+extern const char kContentSuggestionsNotificationsAlwaysNotifyParam[];
+
+#endif // CHROME_BROWSER_NTP_SNIPPETS_NTP_SNIPPETS_FEATURES_H_

Powered by Google App Engine
This is Rietveld 408576698