Page Speed Optimization Libraries
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Namespaces | Typedefs
resource.h File Reference
#include <vector>
#include "base/logging.h"
#include "net/instaweb/http/public/http_cache_failure.h"
#include "net/instaweb/http/public/http_value.h"
#include "net/instaweb/http/public/request_context.h"
#include "pagespeed/kernel/base/basictypes.h"
#include "pagespeed/kernel/base/callback.h"
#include "pagespeed/kernel/base/ref_counted_ptr.h"
#include "pagespeed/kernel/base/string.h"
#include "pagespeed/kernel/base/string_util.h"
#include "pagespeed/kernel/http/content_type.h"
#include "pagespeed/kernel/http/http_names.h"
#include "pagespeed/kernel/http/response_headers.h"

Go to the source code of this file.


class  net_instaweb::Resource
class  net_instaweb::Resource::AsyncCallback
class  net_instaweb::Resource::FreshenCallback


 Unit-test framework for wget fetcher.


typedef RefCountedPtr< Resource > net_instaweb::ResourcePtr
typedef std::vector< ResourcePtr > net_instaweb::ResourceVector
typedef Callback2< const
GoogleUrl &, bool * > 

Detailed Description (Joshua Marantz)

Resources are created by a RewriteDriver. Input resources are read from URLs or the file system. Output resources are constructed programatically, usually by transforming one or more existing resources. Both input and output resources inherit from this class so they can be used interchangeably in successive rewrite passes.