net/instaweb/http/public/url_fetcher.h File Reference
#include "net/instaweb/util/public/string.h"
Go to the source code of this file.
Detailed Description
UrlFetcher is an interface for fetching urls.
- Todo:
- TODO(jmarantz): Consider asynchronous fetches. This may not require a change in interface; we would simply always return 'false' if the url contents is not already cached. We may want to consider a richer return-value enum to distinguish illegal ULRs from invalid ones, from ones where the fetch is in-progress. Or maybe the caller doesn't care.