Index: chrome/common/net/test_url_fetcher_factory.cc |
diff --git a/chrome/common/net/test_url_fetcher_factory.cc b/chrome/common/net/test_url_fetcher_factory.cc |
index b6768ed63189f77642ff5b7083a43d467750255c..0cffe0fe13760b58ead9c901089227751141d74c 100644 |
--- a/chrome/common/net/test_url_fetcher_factory.cc |
+++ b/chrome/common/net/test_url_fetcher_factory.cc |
@@ -87,6 +87,18 @@ void TestURLFetcherFactory::RemoveFetcherFromMap(int id) { |
fetchers_.erase(i); |
} |
+const GURL& TestURLFetcher::url() const { |
+ return fake_url_; |
+} |
+ |
+const net::URLRequestStatus& TestURLFetcher::status() const { |
+ return fake_status_; |
+} |
+ |
+int TestURLFetcher::response_code() const { |
+ return fake_response_code_; |
+} |
+ |
// This class is used by the FakeURLFetcherFactory below. |
class FakeURLFetcher : public URLFetcher { |
public: |