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

Unified Diff: chrome/common/render_messages.h

Issue 12732005: Most visited thumbnails and favicons need id-based urls (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address estade'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
« no previous file with comments | « chrome/common/instant_types.h ('k') | chrome/renderer/resources/extensions/searchbox_api.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index d7b4751b61fbce17c8d40df5649b25280d85f3ed..2e491afec3ad5a05c585a531c535ffbe5e7d44be 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -167,7 +167,8 @@ IPC_STRUCT_TRAITS_BEGIN(InstantAutocompleteResult)
IPC_STRUCT_TRAITS_MEMBER(relevance)
IPC_STRUCT_TRAITS_END()
-IPC_STRUCT_TRAITS_BEGIN(MostVisitedItem)
+IPC_STRUCT_TRAITS_BEGIN(InstantMostVisitedItem)
+ IPC_STRUCT_TRAITS_MEMBER(most_visited_item_id)
IPC_STRUCT_TRAITS_MEMBER(url)
IPC_STRUCT_TRAITS_MEMBER(title)
IPC_STRUCT_TRAITS_END()
@@ -342,16 +343,16 @@ IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxKeyCaptureChanged,
IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxGrantChromeSearchAccessFromOrigin,
GURL /* origin_url */)
-IPC_MESSAGE_ROUTED1(ChromeViewMsg_InstantMostVisitedItemsChanged,
- std::vector<MostVisitedItem> /* items */)
+IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxMostVisitedItemsChanged,
+ std::vector<InstantMostVisitedItem> /* items */)
-IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_InstantDeleteMostVisitedItem,
- GURL /* url */)
+IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxDeleteMostVisitedItem,
+ uint64 /* most_visited_item_id */)
-IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_InstantUndoMostVisitedDeletion,
- GURL /* url */)
+IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxUndoMostVisitedDeletion,
+ uint64 /* most_visited_item_id */)
-IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_InstantUndoAllMostVisitedDeletions)
+IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_SearchBoxUndoAllMostVisitedDeletions)
// Toggles visual muting of the render view area. This is on when a constrained
// window is showing.
« no previous file with comments | « chrome/common/instant_types.h ('k') | chrome/renderer/resources/extensions/searchbox_api.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698