Index: net/url_request/test_url_fetcher_factory.h |
diff --git a/net/url_request/test_url_fetcher_factory.h b/net/url_request/test_url_fetcher_factory.h |
index d7f0d305481c7e5588c96f8ffa907ea1b2a1ffab..8af5c4b9b29cd34865b8c24697b96bc8113b7c84 100644 |
--- a/net/url_request/test_url_fetcher_factory.h |
+++ b/net/url_request/test_url_fetcher_factory.h |
@@ -317,6 +317,13 @@ class FakeURLFetcherFactory : public URLFetcherFactory, |
// SetFakeResponse(). |
void ClearFakeResponses(); |
+ protected: |
+ // For use when subclassing FakeURLFetcherFactory. |
+ // If no fake response is set, return NULL. |
+ virtual TestURLFetcher* CreateFakeURLFetcher(const GURL& URL, |
akalin
2013/02/08 07:47:35
I'm confused by the need for this. FakeURLFetcher
Noam Samuel (WRONG ACCOUNT)
2013/02/08 16:27:10
The main scenario I'm trying to support is the abi
noelutz
2013/02/08 18:21:40
I don't have a strong opinion here but I would als
Noam Samuel (WRONG ACCOUNT)
2013/02/08 18:58:44
Not sure how that would work. The FakeURLFetcherFa
|
+ URLFetcher::RequestType request_type, |
+ URLFetcherDelegate* d); |
+ |
private: |
typedef std::map<GURL, std::pair<std::string, bool> > FakeResponseMap; |
FakeResponseMap fake_responses_; |