| Index: components/suggestions/image_manager.h
|
| diff --git a/components/suggestions/image_manager.h b/components/suggestions/image_manager.h
|
| index 851d1cdd4ad6d2af01b7f0c7022be7a0f28fec62..f1d11fb3e62d7748c240a7e61611cf5ad062ed76 100644
|
| --- a/components/suggestions/image_manager.h
|
| +++ b/components/suggestions/image_manager.h
|
| @@ -48,6 +48,9 @@ class ImageManager : public ImageFetcherDelegate {
|
| virtual void Initialize(const SuggestionsProfile& suggestions);
|
|
|
| // Should be called from the UI thread.
|
| + virtual void AddImageURL(const GURL& url, const GURL& image_url);
|
| +
|
| + // Should be called from the UI thread.
|
| virtual void GetImageForURL(
|
| const GURL& url,
|
| base::Callback<void(const GURL&, const SkBitmap*)> callback);
|
| @@ -60,6 +63,7 @@ class ImageManager : public ImageFetcherDelegate {
|
| friend class MockImageManager;
|
| friend class ImageManagerTest;
|
| FRIEND_TEST_ALL_PREFIXES(ImageManagerTest, InitializeTest);
|
| + FRIEND_TEST_ALL_PREFIXES(ImageManagerTest, AddImageURL);
|
| FRIEND_TEST_ALL_PREFIXES(ImageManagerTest, GetImageForURLNetworkCacheHit);
|
| FRIEND_TEST_ALL_PREFIXES(ImageManagerTest,
|
| GetImageForURLNetworkCacheNotInitialized);
|
|
|