| Index: webkit/support/weburl_loader_mock_factory.h
|
| diff --git a/webkit/support/weburl_loader_mock_factory.h b/webkit/support/weburl_loader_mock_factory.h
|
| index 6c9d80a0ff852c1c983497ea09b08be7d6462636..1333a8c2e9696525c15886f7402c2238530f457b 100644
|
| --- a/webkit/support/weburl_loader_mock_factory.h
|
| +++ b/webkit/support/weburl_loader_mock_factory.h
|
| @@ -52,6 +52,9 @@ class WebURLLoaderMockFactory {
|
| // Serves all the pending asynchronous requests.
|
| void ServeAsynchronousRequests();
|
|
|
| + // Returns the last request handled by |ServeAsynchronousRequests()|.
|
| + WebKit::WebURLRequest GetLastHandledAsynchronousRequest();
|
| +
|
| // Returns true if |url| was registered for being mocked.
|
| bool IsMockedURL(const WebKit::WebURL& url);
|
|
|
| @@ -91,6 +94,8 @@ class WebURLLoaderMockFactory {
|
| typedef std::map<WebKit::WebURL, ResponseInfo> URLToResponseMap;
|
| URLToResponseMap url_to_reponse_info_;
|
|
|
| + WebKit::WebURLRequest last_handled_asynchronous_request_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(WebURLLoaderMockFactory);
|
| };
|
|
|
|
|