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

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

Issue 411463003: [Sync] Trigger refresh for synced notifications on context change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review Created 6 years, 5 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/chrome_notifier_service.h
diff --git a/chrome/browser/notifications/sync_notifier/chrome_notifier_service.h b/chrome/browser/notifications/sync_notifier/chrome_notifier_service.h
index ad0ec65dfd327f83dc46191747628550674edbd8..15a9fa376c54adb418936019eec4e94e795f0e62 100644
--- a/chrome/browser/notifications/sync_notifier/chrome_notifier_service.h
+++ b/chrome/browser/notifications/sync_notifier/chrome_notifier_service.h
@@ -37,6 +37,9 @@ class ChromeNotifierService : public KeyedService {
// Helper method for firing JS events triggered by sync.
void FireSyncJSEvent(scoped_ptr<extensions::Event> event);
+ // Helper method for trigger synced notification refreshes.
+ void NotifyRefreshNeeded();
+
// The owning profile.
Profile* const profile_;

Powered by Google App Engine
This is Rietveld 408576698