Page Speed Optimization Libraries
1.5.27.2
|
#include "net/instaweb/rewriter/public/rewrite_driver.h"
#include "net/instaweb/rewriter/public/server_context.h"
#include "net/instaweb/util/public/basictypes.h"
#include "net/instaweb/util/public/property_cache.h"
#include "net/instaweb/util/public/proto_util.h"
#include "net/instaweb/util/public/scoped_ptr.h"
#include "net/instaweb/util/public/string.h"
#include "net/instaweb/util/public/string_util.h"
Go to the source code of this file.
Namespaces | |
namespace | net_instaweb |
for StringPiece | |
Enumerations | |
enum | net_instaweb::PropertyCacheDecodeResult { net_instaweb::kPropertyCacheDecodeNotFound, kPropertyCacheDecodeExpired, kPropertyCacheDecodeParseError, kPropertyCacheDecodeOk } |
enum | net_instaweb::PropertyCacheUpdateResult { net_instaweb::kPropertyCacheUpdateNotFound, kPropertyCacheUpdateEncodeError, kPropertyCacheUpdateOk } |
Functions | |
const PropertyValue * | net_instaweb::DecodeFromPropertyCacheHelper (const PropertyCache *cache, const PropertyPage *page, StringPiece cohort_name, StringPiece property_name, int64 cache_ttl_ms, PropertyCacheDecodeResult *status) |
template<typename T > | |
T * | net_instaweb::DecodeFromPropertyCache (const PropertyCache *cache, const PropertyPage *page, StringPiece cohort_name, StringPiece property_name, int64 cache_ttl_ms, PropertyCacheDecodeResult *status) |
template<typename T > | |
T * | net_instaweb::DecodeFromPropertyCache (RewriteDriver *driver, StringPiece cohort_name, StringPiece property_name, int64 cache_ttl_ms, PropertyCacheDecodeResult *status) |
PropertyCacheUpdateResult | net_instaweb::UpdateInPropertyCache (const protobuf::MessageLite &value, const PropertyCache *cache, StringPiece cohort_name, StringPiece property_name, bool write_cohort, PropertyPage *page) |
PropertyCacheUpdateResult | net_instaweb::UpdateInPropertyCache (const protobuf::MessageLite &value, RewriteDriver *driver, StringPiece cohort_name, StringPiece property_name, bool write_cohort) |
This contains some utilities that make it easier to work with the property cache.