Chromium Code Reviews| 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 5edf008da7b97b32ce9d70150e9217bd6429415b..46fba57cf5563575d2f9e96a77fec881db5cd1a7 100644 |
| --- a/chrome/browser/ui/search/instant_page.h |
| +++ b/chrome/browser/ui/search/instant_page.h |
| @@ -83,12 +83,10 @@ class InstantPage : public content::WebContentsObserver { |
| WindowOpenDisposition disposition) = 0; |
| // Called when the SearchBox wants to delete a Most Visited item. |
| - virtual void DeleteMostVisitedItem( |
| - InstantRestrictedID most_visited_item_id) = 0; |
| + virtual void DeleteMostVisitedItem(const GURL& item_url) = 0; |
| // Called when the SearchBox wants to undo a Most Visited deletion. |
| - virtual void UndoMostVisitedDeletion( |
| - InstantRestrictedID most_visited_item_id) = 0; |
| + virtual void UndoMostVisitedDeletion(const GURL& most_visited_item_url) = 0; |
| // Called when the SearchBox wants to undo all Most Visited deletions. |
| virtual void UndoAllMostVisitedDeletions() = 0; |
| @@ -251,8 +249,8 @@ class InstantPage : public content::WebContentsObserver { |
| const GURL& url, |
| content::PageTransition transition, |
| WindowOpenDisposition disposition); |
| - void OnDeleteMostVisitedItem(InstantRestrictedID most_visited_item_id); |
| - void OnUndoMostVisitedDeletion(InstantRestrictedID most_visited_item_id); |
| + void OnDeleteMostVisitedItem(const GURL& item_url); |
|
Jered
2013/05/21 20:18:21
Just "url" is fine here and below, since the metho
kmadhusu
2013/05/23 18:26:22
Done.
|
| + void OnUndoMostVisitedDeletion(const GURL& most_visited_item_url); |
| void OnUndoAllMostVisitedDeletions(); |
| Delegate* const delegate_; |