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

Unified Diff: chrome/browser/android/ntp/content_suggestions_notification_helper.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/android/ntp/content_suggestions_notification_helper.h
diff --git a/chrome/browser/android/ntp/content_suggestions_notification_helper.h b/chrome/browser/android/ntp/content_suggestions_notification_helper.h
index 2f448d5f2af4136d388544fffdde48acaab9f5cb..97a06f2f816ae5475fda98fc939327d3ef0fe33d 100644
--- a/chrome/browser/android/ntp/content_suggestions_notification_helper.h
+++ b/chrome/browser/android/ntp/content_suggestions_notification_helper.h
@@ -5,14 +5,26 @@
#ifndef CHROME_BROWSER_ANDROID_NTP_CONTENT_SUGGESTIONS_NOTIFICATION_HELPER_H_
#define CHROME_BROWSER_ANDROID_NTP_CONTENT_SUGGESTIONS_NOTIFICATION_HELPER_H_
+#include <string>
+
#include "base/macros.h"
+#include "base/strings/string16.h"
#include "url/gurl.h"
+namespace gfx {
+class Image;
+} // namespace gfx
+
namespace ntp_snippets {
class ContentSuggestionsNotificationHelper {
public:
static void OpenURL(const GURL& url);
+ static void SendNotification(const GURL& url,
+ const base::string16& title,
+ const base::string16& text,
+ const gfx::Image& image);
+ static void HideNotification();
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSuggestionsNotificationHelper);

Powered by Google App Engine
This is Rietveld 408576698