net/instaweb/rewriter/public/furious_util.h File Reference

#include "net/instaweb/util/public/basictypes.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
 

NOLINT.


Enumerations

enum  FuriousState { net_instaweb::furious::kFuriousNotSet = -1, kFuriousNoExperiment = 0 }

Functions

bool net_instaweb::furious::GetFuriousCookieState (const RequestHeaders &headers, int *value)
void net_instaweb::furious::RemoveFuriousCookie (RequestHeaders *headers)
void net_instaweb::furious::SetFuriousCookie (ResponseHeaders *headers, int state, const StringPiece &url, int64 now_ms)
int net_instaweb::furious::DetermineFuriousState (const RewriteOptions *options)
 Determines which side of the experiment this request should end up on.
GoogleString net_instaweb::furious::FuriousStateToCookieString (int state)
int net_instaweb::furious::CookieStringToState (const StringPiece &cookie_str)
 Converts a Furious Cookie string, e.g. "2", into a FuriousState.

Variables

const char net_instaweb::furious::kFuriousCookie [] = "_GFURIOUS"
 Name of the Furious cookie we set when running experiments.
const char net_instaweb::furious::kFuriousCookiePrefix [] = "_GFURIOUS="

Detailed Description

Functionality and constants for handling Furious experiments and measurement.

Furious is the A/B experiment framework that uses cookies and Google Analytics to track page speed statistics and correlate them with different sets of rewriters.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Tue May 29 16:33:44 2012 for Page Speed Optimization Libraries by  doxygen 1.6.3