Index: chrome/browser/extensions/api/synced_notifications_private/synced_notifications_shim.h |
diff --git a/chrome/browser/extensions/api/synced_notifications_private/synced_notifications_shim.h b/chrome/browser/extensions/api/synced_notifications_private/synced_notifications_shim.h |
index 7e75718549b65f0f1d02f3b9b2a5866e05f2df77..9d225cea8b78c2b140c41b480dfbd95092b0d5e6 100644 |
--- a/chrome/browser/extensions/api/synced_notifications_private/synced_notifications_shim.h |
+++ b/chrome/browser/extensions/api/synced_notifications_private/synced_notifications_shim.h |
@@ -23,7 +23,8 @@ class SyncedNotificationsShim : public syncer::SyncableService { |
// Callback for firing extension events. |
typedef base::Callback<void(scoped_ptr<extensions::Event>)> EventLauncher; |
- explicit SyncedNotificationsShim(const EventLauncher& event_launcher); |
+ explicit SyncedNotificationsShim(const EventLauncher& event_launcher, |
+ const base::Closure& refresh_request); |
virtual ~SyncedNotificationsShim(); |
// SyncableService interface. |
@@ -58,6 +59,9 @@ class SyncedNotificationsShim : public syncer::SyncableService { |
// Callback to trigger firing extension events. |
EventLauncher event_launcher_; |
+ // Callback to trigger synced notification refresh. |
+ base::Closure refresh_request_; |
+ |
// The sync change processors, initialized via MergeDataAndStartSyncing. |
scoped_ptr<syncer::SyncChangeProcessor> notifications_change_processor_; |
scoped_ptr<syncer::SyncChangeProcessor> app_info_change_processor_; |