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 success)=0
const ResourcePtrresource ()
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
Generated on Tue May 29 16:34:03 2012 for Page Speed Optimization Libraries by  doxygen 1.6.3