Page Speed Optimization Libraries
1.7.30.1
|
#include "proxy_interface_test_base.h"
Public Member Functions | |
virtual bool | Decode (const GoogleUrl &gurl, GoogleUrl *domain, GoogleString *decoded) const |
Given the request_url, generate the original url. | |
virtual bool | IsAuthorized (const GoogleUrl &gurl, const RewriteOptions &options) const |
void | set_authorized (bool authorized) |
Static Public Attributes | |
static const char | kProxyHost [] |
Creates a proxy URL naming rule that encodes an "owner" domain and an "origin" domain, all inside a fixed proxy-domain.
virtual bool net_instaweb::ProxyUrlNamer::IsAuthorized | ( | const GoogleUrl & | request_url, |
const RewriteOptions & | options | ||
) | const [inline, virtual] |
Determines whether the provided request URL is authorized given the RewriteOptions.
The default implementation uses the domain lawyer in the options.
Reimplemented from net_instaweb::UrlNamer.