Page Speed Optimization Libraries  1.3.25.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions
net_instaweb::HashedRefererStatistics Class Reference

#include "hashed_referer_statistics.h"

Inheritance diagram for net_instaweb::HashedRefererStatistics:
net_instaweb::SharedMemRefererStatistics

List of all members.

Public Member Functions

 HashedRefererStatistics (size_t number_of_strings, size_t average_string_length, AbstractSharedMem *shm_runtime, const GoogleString &filename_prefix, const GoogleString &filename_suffix, Hasher *hasher)

Protected Member Functions

GoogleString GetEntryStringForUrlString (const StringPiece &url) const
 Given a Url string, produces the corresponding ready-for-storage string.
GoogleString GetEntryStringForDivLocation (const StringPiece &url) const

Detailed Description

An implementation of SharedMemRefererStatistics that hashes all Url and div location information. Encoding and decoding of referals is inherited, so useful pre-fetch information can still be inferred anonymously.


Member Function Documentation

GoogleString net_instaweb::HashedRefererStatistics::GetEntryStringForDivLocation ( const StringPiece &  div_location) const [protected, virtual]

Given a div location (string), produces the corresponding ready-for-storage string

Reimplemented from net_instaweb::SharedMemRefererStatistics.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines