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

Unified Diff: chrome/browser/notifications/sync_notifier/synced_notification_app_info.h

Issue 228753006: Reland r262272: "Hook up the Info URL from SyncedNotificationsAppInfo". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed test on linux+aura, disabled on linux-gtk Created 6 years, 8 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/notifications/sync_notifier/synced_notification_app_info.h
diff --git a/chrome/browser/notifications/sync_notifier/synced_notification_app_info.h b/chrome/browser/notifications/sync_notifier/synced_notification_app_info.h
index 8e9cba5a1e87060756e6e94b7783554a739fc0b9..3862528f9cb7087e04e4504aced87484aebfa07a 100644
--- a/chrome/browser/notifications/sync_notifier/synced_notification_app_info.h
+++ b/chrome/browser/notifications/sync_notifier/synced_notification_app_info.h
@@ -42,6 +42,11 @@ class SyncedNotificationAppInfo : public notifier::ImageHolderDelegate {
std::string settings_display_name() const { return settings_display_name_; }
+ // Sets/gets the link to navigate to when the user clicks on the body of the
+ // app's welcome notification.
+ void SetWelcomeLinkUrl(const GURL& settings_link_url);
+ GURL welcome_link_url() const { return welcome_link_url_; }
+
// Set the URL for the low and high DPI bitmaps for the settings dialog.
void SetSettingsURLs(const GURL& settings_low_dpi,
const GURL& settings_high_dpi);
@@ -103,6 +108,8 @@ class SyncedNotificationAppInfo : public notifier::ImageHolderDelegate {
Profile* profile_;
std::vector<std::string> app_ids_;
std::string settings_display_name_;
+ GURL welcome_link_url_;
+
// The 1x and 2x versions of the icon for settings, small.
scoped_ptr<ImageHolder> settings_holder_;
// Monochrome icons for app badging (1x and 2x), small.

Powered by Google App Engine
This is Rietveld 408576698