Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4586)

Unified Diff: chrome/browser/instant/instant_page.cc

Issue 12498002: InstantExtended: Adding InstantRestrictedIDCache. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing chris's and david's comments. Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/instant/instant_page.cc
diff --git a/chrome/browser/instant/instant_page.cc b/chrome/browser/instant/instant_page.cc
index c89521dc8eb20572d83dbb05b9c97536e1eb1f21..d88d973bddb2b360c546644564c488269a09f16f 100644
--- a/chrome/browser/instant/instant_page.cc
+++ b/chrome/browser/instant/instant_page.cc
@@ -95,7 +95,7 @@ void InstantPage::KeyCaptureChanged(bool is_key_capture_enabled) {
}
void InstantPage::SendMostVisitedItems(
- const std::vector<InstantMostVisitedItem>& items) {
+ const std::vector<InstantMostVisitedItemIDPair>& items) {
Send(new ChromeViewMsg_SearchBoxMostVisitedItemsChanged(routing_id(), items));
}
@@ -270,12 +270,12 @@ void InstantPage::OnSearchBoxNavigate(int page_id,
}
}
-void InstantPage::OnDeleteMostVisitedItem(uint64 most_visited_item_id) {
- delegate_->DeleteMostVisitedItem(most_visited_item_id);
+void InstantPage::OnDeleteMostVisitedItem(InstantRestrictedID restricted_id) {
+ delegate_->DeleteMostVisitedItem(restricted_id);
}
-void InstantPage::OnUndoMostVisitedDeletion(uint64 most_visited_item_id) {
- delegate_->UndoMostVisitedDeletion(most_visited_item_id);
+void InstantPage::OnUndoMostVisitedDeletion(InstantRestrictedID restricted_id) {
+ delegate_->UndoMostVisitedDeletion(restricted_id);
}
void InstantPage::OnUndoAllMostVisitedDeletions() {

Powered by Google App Engine
This is Rietveld 408576698