Page Speed Optimization Libraries
1.5.27.2
|
#include "resource_slot.h"
Public Member Functions | |
FetchResourceSlot (const ResourcePtr &resource) | |
virtual void | Render () |
virtual GoogleString | LocationString () |
Protected Member Functions | |
REFCOUNT_FRIEND_DECLARATION (FetchResourceSlot) |
A resource-slot created for a Fetch has an empty Render method -- Render should never be called.
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.