Page Speed Optimization Libraries
1.13.35.1
|
Public Member Functions | |
CustomTestRewriteDriverFactory (MockUrlFetcher *url_fetcher) | |
virtual OptionsClass * | NewRewriteOptions () |
Note that this disables ajax rewriting by default. | |
Public Member Functions inherited from net_instaweb::TestRewriteDriverFactory | |
TestRewriteDriverFactory (const ProcessContext &process_context, const StringPiece &temp_dir, MockUrlFetcher *mock_fetcher) | |
DelayCache * | delay_cache () |
LRUCache * | lru_cache () |
MockTimer * | mock_timer () |
MockHasher * | mock_hasher () |
MemFileSystem * | mem_file_system () |
MockUrlFetcher * | mock_url_async_fetcher () |
WaitUrlAsyncFetcher * | wait_url_async_fetcher () |
CountingUrlAsyncFetcher * | counting_url_async_fetcher () |
MockTimeCache * | mock_time_cache () |
void | SetupWaitFetcher () |
void | CallFetcherCallbacksForDriver (RewriteDriver *driver) |
MockMessageHandler * | mock_message_handler () |
MockScheduler * | mock_scheduler () |
bool | use_test_url_namer () const |
void | SetUseTestUrlNamer (bool x) |
void | AddCreateFilterCallback (CreateFilterCallback *callback) |
Does NOT take ownership of the callback. | |
void | ClearFilterCallbackVector () |
void | AddCreateRewriterCallback (CreateRewriterCallback *callback) |
Does NOT take ownership of the callback. | |
void | ClearRewriterCallbackVector () |
virtual bool | UseBeaconResultsInFilters () const |
By default this is false, but can be reset. | |
void | set_use_beacon_results_in_filters (bool b) |
void | AddPlatformSpecificConfigurationCallback (PlatformSpecificConfigurationCallback *callback) |
Does NOT take ownership of the callback. | |
void | ClearPlatformSpecificConfigurationCallback () |
virtual ServerContext * | NewServerContext () |
Note that this enables html proxying. | |
virtual ServerContext * | NewDecodingServerContext () |
virtual bool | IsDebugClient (const GoogleString &ip) const |
Base method that returns true if the given ip is a debug ip. | |
void | set_add_platform_specific_decoding_passes (bool value) |
bool | add_platform_specific_decoding_passes () const |
void | AdvanceTimeMs (int64 delta_ms) |
Advances the mock scheduler by delta_ms. | |
const PropertyCache::Cohort * | SetupCohort (PropertyCache *cache, const GoogleString &cohort_name) |
Sets up the cohort in the PropertyCache provided. | |
CachePropertyStore * | cache_property_store () |
Public Member Functions inherited from net_instaweb::RewriteDriverFactory | |
RewriteDriverFactory (const ProcessContext &process_context, ThreadSystem *thread_system) | |
Takes ownership of thread_system. | |
void | InitializeDefaultOptions () |
void | set_html_parse_message_handler (MessageHandler *message_handler) |
void | set_message_handler (MessageHandler *message_handler) |
void | set_file_system (FileSystem *file_system) |
void | set_hasher (Hasher *hasher) |
void | set_nonce_generator (NonceGenerator *nonce_generator) |
void | set_url_namer (UrlNamer *url_namer) |
void | set_signature (SHA1Signature *signature) |
void | set_timer (Timer *timer) |
void | set_usage_data_reporter (UsageDataReporter *reporter) |
void | set_slurp_directory (const StringPiece &directory) |
void | set_slurp_read_only (bool read_only) |
void | set_slurp_print_urls (bool read_only) |
void | set_force_caching (bool u) |
void | set_base_url_async_fetcher (UrlAsyncFetcher *url_fetcher) |
bool | set_filename_prefix (StringPiece p) |
bool | slurping_enabled () const |
Determines whether Slurping is enabled. | |
MessageHandler * | html_parse_message_handler () |
MessageHandler * | message_handler () |
FileSystem * | file_system () |
NonceGenerator * | nonce_generator () |
Hasher * | hasher () |
UrlNamer * | url_namer () |
UserAgentMatcher * | user_agent_matcher () |
StaticAssetManager * | static_asset_manager () |
SHA1Signature * | signature () |
RewriteOptions * | default_options () |
virtual RewriteOptionsManager * | NewRewriteOptionsManager () |
Timer * | timer () |
NamedLockManager * | lock_manager () |
QueuedWorkerPool * | WorkerPool (WorkerPoolCategory pool) |
Scheduler * | scheduler () |
UsageDataReporter * | usage_data_reporter () |
const pagespeed::js::JsTokenizerPatterns * | js_tokenizer_patterns () const |
const std::vector< const UserAgentNormalizer * > & | user_agent_normalizers () |
virtual UrlAsyncFetcher * | ComputeUrlAsyncFetcher () |
ServerContext * | CreateServerContext () |
void | InitServerContext (ServerContext *server_context) |
ThreadSystem * | thread_system () |
const StringSet & | created_directories () const |
bool | async_rewrites () |
RewriteStats * | rewrite_stats () |
virtual bool | HasWaveforms () const |
Returns true if the server supports waveforms in its status page. | |
Statistics * | statistics () |
void | SetStatistics (Statistics *stats) |
Does not take ownership of Statistics. | |
virtual void | ShutDown () |
void | AddCreatedDirectory (const GoogleString &dir) |
Registers the directory as having been created by us. | |
virtual RewriteOptions * | NewRewriteOptionsForQuery () |
const GoogleString & | version_string () const |
get/set the version placed into the X-[Mod-]Page(s|-S)peed header. | |
void | set_version_string (const StringPiece &version_string) |
void | defer_cleanup (Function *f) |
template<class T > | |
void | TakeOwnership (T *obj) |
virtual ExperimentMatcher * | NewExperimentMatcher () |
Additional Inherited Members | |
Public Types inherited from net_instaweb::RewriteDriverFactory | |
enum | WorkerPoolCategory { kHtmlWorkers, kRewriteWorkers, kLowPriorityRewriteWorkers, kNumWorkerPools } |
Static Public Member Functions inherited from net_instaweb::TestRewriteDriverFactory | |
static void | InitStats (Statistics *statistics) |
Static Public Member Functions inherited from net_instaweb::RewriteDriverFactory | |
static void | InitializeDefaultOptions (RewriteOptions *options) |
static void | InitStats (Statistics *statistics) |
static void | Initialize () |
Initializes static variables. Initialize/Terminate calls must be paired. | |
static void | Terminate () |
Static Public Attributes inherited from net_instaweb::TestRewriteDriverFactory | |
static const int64 | kStartTimeMs |
Arbitrary time to start MockTimer. | |
static const char | kUrlNamerScheme [] |
Env.var URL_NAMER_SCHEME. | |
static const int | kMaxFetchGlobalQueueSize = 500 |
static const int | kFetchesPerHostOutgoingRequestThreshold = 100 |
static const int | kFetchesPerHostQueuedRequestThreshold = 500 |
Protected Member Functions inherited from net_instaweb::TestRewriteDriverFactory | |
virtual Hasher * | NewHasher () |
virtual MessageHandler * | DefaultHtmlParseMessageHandler () |
virtual MessageHandler * | DefaultMessageHandler () |
virtual UrlAsyncFetcher * | DefaultAsyncUrlFetcher () |
virtual FileSystem * | DefaultFileSystem () |
virtual NonceGenerator * | DefaultNonceGenerator () |
virtual Timer * | DefaultTimer () |
virtual void | SetupCaches (ServerContext *server_context) |
virtual UrlNamer * | DefaultUrlNamer () |
virtual Scheduler * | CreateScheduler () |
virtual void | AddPlatformSpecificDecodingPasses (RewriteDriver *driver) |
virtual void | AddPlatformSpecificRewritePasses (RewriteDriver *driver) |
virtual void | ApplyPlatformSpecificConfiguration (RewriteDriver *driver) |
virtual NamedLockManager * | DefaultLockManager () |
Protected Member Functions inherited from net_instaweb::RewriteDriverFactory | |
bool | FetchersComputed () const |
virtual void | StopCacheActivity () |
StringPiece | filename_prefix () |
bool | TerminateServerContext (ServerContext *server_context) |
virtual SHA1Signature * | DefaultSignature () |
virtual CriticalImagesFinder * | DefaultCriticalImagesFinder (ServerContext *server_context) |
virtual CriticalSelectorFinder * | DefaultCriticalSelectorFinder (ServerContext *server_context) |
virtual UserAgentMatcher * | DefaultUserAgentMatcher () |
virtual UsageDataReporter * | DefaultUsageDataReporter () |
virtual void | AddPlatformSpecificUserAgentNormalizers (std::vector< const UserAgentNormalizer * > *out) |
virtual QueuedWorkerPool * | CreateWorkerPool (WorkerPoolCategory pool, StringPiece name) |
virtual int | LowPriorityLoadSheddingThreshold () const |
virtual void | FetcherSetupHooks () |
Called before creating the url fetchers. | |
virtual StringPiece | LockFilePrefix () |
virtual void | InitStaticAssetManager (StaticAssetManager *static_asset_manager) |
Initializes the StaticAssetManager. | |
void | InitStubDecodingServerContext (ServerContext *context) |
virtual std::shared_ptr < CentralController > | GetCentralController (NamedLockManager *lock_manager) |
void | RebuildDecodingDriverForTests (ServerContext *server_context) |
For use in tests. | |
void | reset_default_options (RewriteOptions *new_defaults) |