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

Unified Diff: components/favicon/core/large_icon_service_unittest.cc

Issue 2781473003: Add |SetImageDownloadLimit| to ImageFetcher to limit downloaded bytes (Closed)
Patch Set: Add |SetImageDownloadLimit| to ImageDataFetcher Created 3 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: components/favicon/core/large_icon_service_unittest.cc
diff --git a/components/favicon/core/large_icon_service_unittest.cc b/components/favicon/core/large_icon_service_unittest.cc
index f61906bb295bd3c946cd724feadad3556a6920a6..7c716ecafaa67ed8d73e79ae314b74d80a90b156 100644
--- a/components/favicon/core/large_icon_service_unittest.cc
+++ b/components/favicon/core/large_icon_service_unittest.cc
@@ -87,6 +87,7 @@ class MockImageFetcher : public image_fetcher::ImageFetcher {
void(image_fetcher::ImageFetcherDelegate* delegate));
MOCK_METHOD1(SetDataUseServiceName,
void(image_fetcher::ImageFetcher::DataUseServiceName name));
+ MOCK_METHOD1(SetImageDownloadLimit, void(int64_t max_download_bytes));
MOCK_METHOD1(SetDesiredImageFrameSize, void(const gfx::Size& size));
MOCK_METHOD3(StartOrQueueNetworkRequest,
void(const std::string&,
« no previous file with comments | « no previous file | components/image_fetcher/core/image_data_fetcher.h » ('j') | components/image_fetcher/core/image_data_fetcher.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698