Index: components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc |
diff --git a/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc b/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc |
index 7f63e424338ef49aaabcbf1ead37dd7d57ef3d6e..ee03cebf90033f43995851d23d2d7bfe0a089483 100644 |
--- a/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc |
+++ b/components/ntp_snippets/physical_web_pages/physical_web_page_suggestions_provider.cc |
@@ -8,6 +8,8 @@ |
#include "base/strings/string_number_conversions.h" |
#include "base/strings/string_util.h" |
#include "base/strings/utf_string_conversions.h" |
+#include "base/threading/thread_task_runner_handle.h" |
+#include "ui/gfx/image/image.h" |
namespace ntp_snippets { |
@@ -80,6 +82,8 @@ void PhysicalWebPageSuggestionsProvider::DismissSuggestion( |
void PhysicalWebPageSuggestionsProvider::FetchSuggestionImage( |
const std::string& suggestion_id, const ImageFetchedCallback& callback) { |
// TODO(vitaliii): Implement. |
+ base::ThreadTaskRunnerHandle::Get()->PostTask( |
+ FROM_HERE, base::Bind(callback, gfx::Image())); |
} |
void PhysicalWebPageSuggestionsProvider::ClearCachedSuggestions( |