| Index: chrome/browser/ui/cocoa/history_menu_bridge.h
|
| diff --git a/chrome/browser/ui/cocoa/history_menu_bridge.h b/chrome/browser/ui/cocoa/history_menu_bridge.h
|
| index 088ac24a03a7edd6444e8dd656825b30eb6a5a11..b7173a2a66a4c3012102a7e6f0c90ca6aa36c468 100644
|
| --- a/chrome/browser/ui/cocoa/history_menu_bridge.h
|
| +++ b/chrome/browser/ui/cocoa/history_menu_bridge.h
|
| @@ -17,6 +17,7 @@
|
| #include "chrome/browser/sessions/tab_restore_service.h"
|
| #include "chrome/browser/sessions/tab_restore_service_observer.h"
|
| #import "chrome/browser/ui/cocoa/main_menu_item.h"
|
| +#include "components/history/core/browser/history_service_observer.h"
|
| #include "components/sessions/session_id.h"
|
| #include "content/public/browser/notification_observer.h"
|
|
|
| @@ -58,7 +59,8 @@ struct FaviconImageResult;
|
| // class does the bulk of the work.
|
| class HistoryMenuBridge : public content::NotificationObserver,
|
| public TabRestoreServiceObserver,
|
| - public MainMenuItem {
|
| + public MainMenuItem,
|
| + public history::HistoryServiceObserver {
|
| public:
|
| // This is a generalization of the data we store in the history menu because
|
| // we pull things from different sources with different data types.
|
| @@ -131,6 +133,13 @@ class HistoryMenuBridge : public content::NotificationObserver,
|
| const content::NotificationSource& source,
|
| const content::NotificationDetails& details) override;
|
|
|
| + // history::HistoryServiceObserver:
|
| + virtual void OnURLVisited(HistoryService* history_service,
|
| + ui::PageTransition transition,
|
| + const history::URLRow& row,
|
| + const history::RedirectList& redirects,
|
| + base::Time visit_time) override;
|
| +
|
| // TabRestoreServiceObserver:
|
| virtual void TabRestoreServiceChanged(TabRestoreService* service) override;
|
| virtual void TabRestoreServiceDestroyed(TabRestoreService* service) override;
|
|
|