18 #ifndef PAGESPEED_SYSTEM_ADMIN_SITE_H_
19 #define PAGESPEED_SYSTEM_ADMIN_SITE_H_
24 namespace net_instaweb {
35 class StaticAssetManager;
37 class SystemCachePath;
39 class SystemRewriteOptions;
64 const QueryParams& query_params, AsyncFetch* fetch,
65 Statistics* statistics);
73 Writer* writer, SystemRewriteOptions* global_system_rewrite_options);
78 void AdminPage(
bool is_global,
const GoogleUrl& stripped_gurl,
79 const QueryParams& query_params,
80 const RewriteOptions* options,
81 SystemCachePath* cache_path,
82 AsyncFetch* fetch, SystemCaches* system_caches,
83 CacheInterface* filesystem_metadata_cache,
84 HTTPCache* http_cache, CacheInterface* metadata_cache,
85 PropertyCache* page_property_cache,
86 ServerContext* server_context, Statistics* statistics,
88 SystemRewriteOptions* global_system_rewrite_options);
95 void StatisticsPage(
bool is_global,
const QueryParams& query_params,
96 const RewriteOptions* options, AsyncFetch* fetch,
97 SystemCaches* system_caches,
98 CacheInterface* filesystem_metadata_cache,
99 HTTPCache* http_cache, CacheInterface* metadata_cache,
100 PropertyCache* page_property_cache,
101 ServerContext* server_context, Statistics* statistics,
103 SystemRewriteOptions* global_system_rewrite_options);
107 Statistics* statistics);
114 AsyncFetch* fetch, Statistics* stats);
123 const QueryParams& query_params, AsyncFetch* fetch,
128 SystemRewriteOptions* global_system_rewrite_options);
133 const GoogleUrl& stripped_gurl,
134 const QueryParams& query_params,
135 const RewriteOptions* options,
136 SystemCachePath* cache_path,
137 AsyncFetch* fetch, SystemCaches* system_caches,
138 CacheInterface* filesystem_metadata_cache,
139 HTTPCache* http_cache, CacheInterface* metadata_cache,
140 PropertyCache* page_property_cache,
141 ServerContext* server_context);
147 void PurgeHandler(StringPiece url, SystemCachePath* cache_path,
Definition: static_asset_manager.h:48
void ConsoleJsonHandler(const QueryParams ¶ms, AsyncFetch *fetch, Statistics *statistics)
Returns JSON used by the PageSpeed Console JavaScript.
void PrintCaches(bool is_global, AdminSource source, const GoogleUrl &stripped_gurl, const QueryParams &query_params, const RewriteOptions *options, SystemCachePath *cache_path, AsyncFetch *fetch, SystemCaches *system_caches, CacheInterface *filesystem_metadata_cache, HTTPCache *http_cache, CacheInterface *metadata_cache, PropertyCache *page_property_cache, ServerContext *server_context)
void StatisticsPage(bool is_global, const QueryParams &query_params, const RewriteOptions *options, AsyncFetch *fetch, SystemCaches *system_caches, CacheInterface *filesystem_metadata_cache, HTTPCache *http_cache, CacheInterface *metadata_cache, PropertyCache *page_property_cache, ServerContext *server_context, Statistics *statistics, Statistics *stats, SystemRewriteOptions *global_system_rewrite_options)
void MessageHistoryHandler(const RewriteOptions &options, AdminSource source, AsyncFetch *fetch)
Displays recent Info/Warning/Error messages.: public ServerContext.
void AdminPage(bool is_global, const GoogleUrl &stripped_gurl, const QueryParams &query_params, const RewriteOptions *options, SystemCachePath *cache_path, AsyncFetch *fetch, SystemCaches *system_caches, CacheInterface *filesystem_metadata_cache, HTTPCache *http_cache, CacheInterface *metadata_cache, PropertyCache *page_property_cache, ServerContext *server_context, Statistics *statistics, Statistics *stats, SystemRewriteOptions *global_system_rewrite_options)
MessageHandler * MessageHandlerForTesting()
Return the message handler for debugging use.
Definition: admin_site.h:151
void StatisticsGraphsHandler(Writer *writer, SystemRewriteOptions *global_system_rewrite_options)
Deprecated handler for graphs in the PSOL console.
void GraphsHandler(const RewriteOptions &options, AdminSource source, const QueryParams &query_params, AsyncFetch *fetch, Statistics *stats)
AdminSource
Definition: admin_site.h:52
Implements the /pagespeed_admin pages.
Definition: admin_site.h:44
void PrintHistograms(AdminSource source, AsyncFetch *fetch, Statistics *stats)
Print histograms showing the dynamics of server activity.
void PrintConfig(AdminSource source, AsyncFetch *fetch, SystemRewriteOptions *global_system_rewrite_options)
Print details for configuration.
Definition: message_handler.h:39
void ConsoleHandler(const SystemRewriteOptions &global_options, const RewriteOptions &options, AdminSource source, const QueryParams &query_params, AsyncFetch *fetch, Statistics *statistics)
Timer interface, made virtual so it can be mocked for tests.
Definition: timer.h:27
void StatisticsHandler(const RewriteOptions &options, AdminSource source, AsyncFetch *fetch, Statistics *stats)
void StatisticsJsonHandler(AsyncFetch *fetch, Statistics *stats)