| Index: content/test/test_web_contents.h
|
| diff --git a/content/test/test_web_contents.h b/content/test/test_web_contents.h
|
| index 1deb67a8404a98c6ba0b230a6c18820a0b97ef95..2a141aeb9f14e7db0c03e894f1a5501cce53be90 100644
|
| --- a/content/test/test_web_contents.h
|
| +++ b/content/test/test_web_contents.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include <stdint.h>
|
|
|
| +#include <map>
|
| #include <string>
|
|
|
| #include "content/browser/web_contents/web_contents_impl.h"
|
| @@ -73,6 +74,11 @@ class TestWebContents : public WebContentsImpl, public WebContentsTester {
|
| int item_sequence_number,
|
| int document_sequence_number);
|
| const std::string& GetSaveFrameHeaders() override;
|
| + bool TestDidDownloadImage(
|
| + int id,
|
| + int http_status_code,
|
| + const std::vector<SkBitmap>& bitmaps,
|
| + const std::vector<gfx::Size>& original_bitmap_sizes) override;
|
|
|
| // True if a cross-site navigation is pending.
|
| bool CrossProcessNavigationPending();
|
| @@ -161,6 +167,9 @@ class TestWebContents : public WebContentsImpl, public WebContentsTester {
|
| int expect_set_history_offset_and_length_history_offset_;
|
| int expect_set_history_offset_and_length_history_length_;
|
| std::string save_frame_headers_;
|
| + // Map from image download ID to request arguments.
|
| + std::map<int, std::pair<GURL, ImageDownloadCallback>>
|
| + pending_image_downloads_;
|
| };
|
|
|
| } // namespace content
|
|
|