Page Speed Optimization Libraries  1.8.31.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions
net_instaweb::FetchResourceSlot Class Reference

#include "resource_slot.h"

Inheritance diagram for net_instaweb::FetchResourceSlot:
net_instaweb::ResourceSlot

List of all members.

Public Member Functions

 FetchResourceSlot (const ResourcePtr &resource)
virtual void Render ()
virtual GoogleString LocationString ()

Protected Member Functions

 REFCOUNT_FRIEND_DECLARATION (FetchResourceSlot)

Detailed Description

A resource-slot created for a Fetch has an empty Render method -- Render should never be called.


Member Function Documentation

virtual GoogleString net_instaweb::FetchResourceSlot::LocationString ( ) [virtual]

Returns a human-readable description of where this slot occurs, for use in log messages.

Implements net_instaweb::ResourceSlot.

virtual void net_instaweb::FetchResourceSlot::Render ( ) [virtual]

Render is not thread-safe. This must be called from the thread that owns the DOM or CSS file. The RewriteContext state machine will only call ResourceSlot::Render() on slots that were optimized successfully, and whose partitions are safely url_relocatable(). (Note that this is different from RewriteContext::Render).

Implements net_instaweb::ResourceSlot.


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