Page Speed Optimization Libraries  1.5.27.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
net_instaweb::Resource::AsyncCallback Class Reference

#include "resource.h"

Inheritance diagram for net_instaweb::Resource::AsyncCallback:
net_instaweb::MockResourceCallback net_instaweb::Resource::FreshenCallback

List of all members.

Public Member Functions

 AsyncCallback (const ResourcePtr &resource)
virtual void Done (bool lock_ok, bool resource_ok)=0
const ResourcePtr & resource ()
virtual bool EnableThreaded () const

Detailed Description

We define a new Callback type here because we need to pass in the Resource to the Done callback so it can collect the fetched data.


Member Function Documentation

virtual bool net_instaweb::Resource::AsyncCallback::EnableThreaded ( ) const [inline, virtual]

Override this to return true if this callback is safe to invoke from thread other than the main html parse/http request serving thread.


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