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

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

Issue 2914263002: [NTP::Push] Adding Breaking News Subscription Manager (Closed)
Patch Set: bauerb@ 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..0333d014778b588ea13cc70373ee85a2bec3192e
--- /dev/null
+++ b/components/ntp_snippets/breaking_news/breaking_news_suggestions_provider.h
@@ -0,0 +1,22 @@
+// 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 {
+
+class BreakingNewsSuggestionsProvider {
fhorschig 2017/06/06 09:00:26 How about a class comment to describe what this pr
mamir 2017/06/06 14:05:23 Acknowledged.
+ public:
+ static void RegisterProfilePrefs(PrefRegistrySimple* registry);
fhorschig 2017/06/06 09:00:26 Are you absolutely sure you will use the pref you
mamir 2017/06/06 14:05:23 OK, I will remove to the manager.
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(BreakingNewsSuggestionsProvider);
+};
+
+} // namespace ntp_snippets
+#endif // COMPONENTS_NTP_SNIPPETS_BREAKING_NEWS_BREAKING_NEWS_SUGGESTIONS_PROVIDER_H_

Powered by Google App Engine
This is Rietveld 408576698