Page Speed Optimization Libraries  1.7.30.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions | Protected Member Functions
net_instaweb::GoogleFontServiceInputResource Class Reference
Inheritance diagram for net_instaweb::GoogleFontServiceInputResource:
net_instaweb::CacheableResourceBase net_instaweb::Resource

List of all members.

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)

Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines