X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fchrome%2Fbrowser%2Fsync%2Fsessions%2Fnotification_service_sessions_router.h;h=1ebd723ac8f850be8c448e778af97067ebb59d81;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=7ce1c144c67c3c4632c52d599617a6b85eb203f2;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/chrome/browser/sync/sessions/notification_service_sessions_router.h b/src/chrome/browser/sync/sessions/notification_service_sessions_router.h index 7ce1c14..1ebd723 100644 --- a/src/chrome/browser/sync/sessions/notification_service_sessions_router.h +++ b/src/chrome/browser/sync/sessions/notification_service_sessions_router.h @@ -5,11 +5,16 @@ #ifndef CHROME_BROWSER_SYNC_SESSIONS_NOTIFICATION_SERVICE_SESSIONS_ROUTER_H_ #define CHROME_BROWSER_SYNC_SESSIONS_NOTIFICATION_SERVICE_SESSIONS_ROUTER_H_ +#include + +#include "base/callback_list.h" #include "base/memory/weak_ptr.h" #include "chrome/browser/sync/sessions/sessions_sync_manager.h" #include "content/public/browser/notification_observer.h" #include "content/public/browser/notification_registrar.h" +class GURL; +class HistoryService; class Profile; namespace content { @@ -47,10 +52,17 @@ class NotificationServiceSessionsRouter // from WebContents. void OnNavigationBlocked(content::WebContents* web_contents); + // Called when the urls of favicon changed. + void OnFaviconChanged(const std::set& changed_favicons); + LocalSessionEventHandler* handler_; content::NotificationRegistrar registrar_; Profile* const profile_; syncer::SyncableService::StartSyncFlare flare_; + + scoped_ptr&)>::Subscription> + favicon_changed_subscription_; + base::WeakPtrFactory weak_ptr_factory_; DISALLOW_COPY_AND_ASSIGN(NotificationServiceSessionsRouter);