| Index: chrome/browser/ui/search/instant_page.h
|
| diff --git a/chrome/browser/ui/search/instant_page.h b/chrome/browser/ui/search/instant_page.h
|
| index 8ddaf0ad616a8faa596f8db2f65bcacc8d780f6f..78e32590189b068fb458d172ac1e0a7f3f6fffca 100644
|
| --- a/chrome/browser/ui/search/instant_page.h
|
| +++ b/chrome/browser/ui/search/instant_page.h
|
| @@ -89,10 +89,12 @@ class InstantPage : public content::WebContentsObserver {
|
| WindowOpenDisposition disposition) = 0;
|
|
|
| // Called when the SearchBox wants to delete a Most Visited item.
|
| - virtual void DeleteMostVisitedItem(uint64 most_visited_item_id) = 0;
|
| + virtual void DeleteMostVisitedItem(
|
| + InstantRestrictedID most_visited_item_id) = 0;
|
|
|
| // Called when the SearchBox wants to undo a Most Visited deletion.
|
| - virtual void UndoMostVisitedDeletion(uint64 most_visited_item_id) = 0;
|
| + virtual void UndoMostVisitedDeletion(
|
| + InstantRestrictedID most_visited_item_id) = 0;
|
|
|
| // Called when the SearchBox wants to undo all Most Visited deletions.
|
| virtual void UndoAllMostVisitedDeletions() = 0;
|
| @@ -170,7 +172,8 @@ class InstantPage : public content::WebContentsObserver {
|
| void KeyCaptureChanged(bool is_key_capture_enabled);
|
|
|
| // Tells the page about new Most Visited data.
|
| - void SendMostVisitedItems(const std::vector<InstantMostVisitedItem>& items);
|
| + void SendMostVisitedItems(
|
| + const std::vector<InstantMostVisitedItemIDPair>& items);
|
|
|
| protected:
|
| explicit InstantPage(Delegate* delegate);
|
| @@ -226,8 +229,8 @@ class InstantPage : public content::WebContentsObserver {
|
| const GURL& url,
|
| content::PageTransition transition,
|
| WindowOpenDisposition disposition);
|
| - void OnDeleteMostVisitedItem(uint64 most_visited_item_id);
|
| - void OnUndoMostVisitedDeletion(uint64 most_visited_item_id);
|
| + void OnDeleteMostVisitedItem(InstantRestrictedID most_visited_item_id);
|
| + void OnUndoMostVisitedDeletion(InstantRestrictedID most_visited_item_id);
|
| void OnUndoAllMostVisitedDeletions();
|
|
|
| Delegate* const delegate_;
|
|
|