| Index: chrome/browser/ui/webui/snippets_internals_message_handler.cc
|
| diff --git a/chrome/browser/ui/webui/snippets_internals_message_handler.cc b/chrome/browser/ui/webui/snippets_internals_message_handler.cc
|
| index 761bad9674211e3f3b2e68e8a39aa98de73725fa..b6bb7aa409516e2dacd3f1f2fc5abeda87204734 100644
|
| --- a/chrome/browser/ui/webui/snippets_internals_message_handler.cc
|
| +++ b/chrome/browser/ui/webui/snippets_internals_message_handler.cc
|
| @@ -41,7 +41,7 @@ std::unique_ptr<base::DictionaryValue> PrepareSuggestion(
|
| const ContentSuggestion& suggestion,
|
| int index) {
|
| auto entry = base::MakeUnique<base::DictionaryValue>();
|
| - entry->SetString("suggestionId", suggestion.id());
|
| + entry->SetString("withinCategoryId", suggestion.id().within_category_id());
|
| entry->SetString("url", suggestion.url().spec());
|
| entry->SetString("ampUrl", suggestion.amp_url().spec());
|
| entry->SetString("title", suggestion.title());
|
| @@ -144,8 +144,7 @@ void SnippetsInternalsMessageHandler::OnCategoryStatusChanged(
|
| }
|
|
|
| void SnippetsInternalsMessageHandler::OnSuggestionInvalidated(
|
| - ntp_snippets::Category category,
|
| - const std::string& suggestion_id) {
|
| + const ntp_snippets::ContentSuggestion::ID& suggestion_id) {
|
| if (!dom_loaded_)
|
| return;
|
| SendContentSuggestions();
|
|
|