Page Speed Optimization Libraries
1.7.30.4
|
Static Public Member Functions | |
static GoogleFontServiceInputResource * | Make (const GoogleUrl &url, RewriteDriver *rewrite_driver) |
Returns NULL if not recognized as a valid font service URL. | |
static void | InitStats (Statistics *stats) |
static bool | IsFontServiceUrl (const GoogleUrl &url) |
Returns true if the URL looks like one from font service. | |
Protected Member Functions | |
virtual void | PrepareRequest (const RequestContextPtr &request_context, RequestHeaders *headers) |
Overrides of CacheableResourceBase API. | |
virtual void | PrepareResponseHeaders (ResponseHeaders *headers) |
virtual void net_instaweb::GoogleFontServiceInputResource::PrepareResponseHeaders | ( | ResponseHeaders * | headers | ) | [protected, virtual] |
Permits the subclass to alter the response headers returned from a fetch before the entry gets added to the cache. Default implementation does nothing. Note: ComputeCaching hasn't been called yet at time this is invoked.
Reimplemented from net_instaweb::CacheableResourceBase.