|
Page Speed Optimization Libraries
1.13.35.1
|
#include "resource.h"
Public Member Functions | |
| FreshenCallback (const ResourcePtr &resource) | |
| virtual InputInfo * | input_info () |
| virtual void | Done (bool lock_failure, bool resource_ok) |
Public Member Functions inherited from net_instaweb::Resource::AsyncCallback | |
| AsyncCallback (const ResourcePtr &resource) | |
| const ResourcePtr & | resource () |
An AsyncCallback for a freshen. The Done() callback in the default implementation deletes itself.
|
inlinevirtual |
This is called with resource_ok = true only if the hash of the fetched response is the same as the hash in input_info()->input_content_hash().
Implements net_instaweb::Resource::AsyncCallback.
|
inlinevirtual |
Returns NULL by default. Sublasses should override this if they want this to be updated based on the response fetched while freshening.
1.8.6