virtual void Rewrite(int partition_index, CachedResult *partition, const OutputResourcePtr &output)
virtual OutputResourceKind kind() const
Definition: inline_rewrite_context.h:40
InlineRewriteContext(CommonFilter *filter, HtmlElement *element, HtmlElement::Attribute *src)
Note that you should also call StartInlining() to do the work.
Definition: rewrite_context.h:155
virtual ResourcePtr CreateResource(const char *url, bool *is_authorized)
virtual bool ShouldInline(const ResourcePtr &resource, GoogleString *explanation) const =0
Subclasses of InlineRewriteContext must override these:
virtual bool Partition(OutputPartitions *partitions, OutputResourceVector *outputs)
InlineRewriteContext takes care of these methods from RewriteContext;.