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

Unified Diff: chrome/browser/android/ntp/content_suggestions_notification_helper.h

Issue 2586293002: Add helper to open URL in new activity (Closed)
Patch Set: Address comments Created 4 years 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
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/ntp/content_suggestions_notification_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
new file mode 100644
index 0000000000000000000000000000000000000000..2f448d5f2af4136d388544fffdde48acaab9f5cb
--- /dev/null
+++ b/chrome/browser/android/ntp/content_suggestions_notification_helper.h
@@ -0,0 +1,23 @@
+// Copyright 2016 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 CHROME_BROWSER_ANDROID_NTP_CONTENT_SUGGESTIONS_NOTIFICATION_HELPER_H_
+#define CHROME_BROWSER_ANDROID_NTP_CONTENT_SUGGESTIONS_NOTIFICATION_HELPER_H_
+
+#include "base/macros.h"
+#include "url/gurl.h"
+
+namespace ntp_snippets {
+
+class ContentSuggestionsNotificationHelper {
+ public:
+ static void OpenURL(const GURL& url);
+
+ private:
+ DISALLOW_IMPLICIT_CONSTRUCTORS(ContentSuggestionsNotificationHelper);
+};
+
+} // namespace ntp_snippets
+
+#endif // CHROME_BROWSER_ANDROID_NTP_CONTENT_SUGGESTIONS_NOTIFICATION_HELPER_H_
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/ntp/content_suggestions_notification_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698