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

Unified Diff: components/ntp_snippets/breaking_news/breaking_news_suggestions_provider.h

Issue 2914263002: [NTP::Push] Adding Breaking News Subscription Manager (Closed)
Patch Set: fhorschig@ comments. Created 3 years, 6 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/ntp_snippets/breaking_news/breaking_news_suggestions_provider.h
diff --git a/components/ntp_snippets/breaking_news/breaking_news_suggestions_provider.h b/components/ntp_snippets/breaking_news/breaking_news_suggestions_provider.h
new file mode 100644
index 0000000000000000000000000000000000000000..bae5bef54ad24ffdc51a55f6b987a3a1e68b040d
--- /dev/null
+++ b/components/ntp_snippets/breaking_news/breaking_news_suggestions_provider.h
@@ -0,0 +1,17 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_NTP_SNIPPETS_BREAKING_NEWS_BREAKING_NEWS_SUGGESTIONS_PROVIDER_H_
+#define COMPONENTS_NTP_SNIPPETS_BREAKING_NEWS_BREAKING_NEWS_SUGGESTIONS_PROVIDER_H_
+
+#include "components/prefs/pref_registry_simple.h"
+class PrefRegistrySimple;
+
+namespace ntp_snippets {
Bernhard Bauer 2017/06/05 10:19:39 Nit: Leave empty lines inside the namespace?
mamir 2017/06/05 13:06:26 Done.
+class BreakingNewsSuggestionsProvider {
Bernhard Bauer 2017/06/05 10:19:40 Is this class going to get more methods? In any ca
mamir 2017/06/05 13:06:26 Yes, it's going to get more methods. Done!
+ public:
+ static void RegisterProfilePrefs(PrefRegistrySimple* registry);
+};
+} // namespace ntp_snippets
+#endif // COMPONENTS_NTP_SNIPPETS_BREAKING_NEWS_BREAKING_NEWS_SUGGESTIONS_PROVIDER_H_

Powered by Google App Engine
This is Rietveld 408576698