71 #ifndef PAGESPEED_KERNEL_UTIL_URL_TO_FILENAME_ENCODER_H_ 
   72 #define PAGESPEED_KERNEL_UTIL_URL_TO_FILENAME_ENCODER_H_ 
   79 namespace net_instaweb {
 
   91       const StringPiece& filename_prefix,
 
   92       const StringPiece& escaped_ending,
 
  102   static bool Decode(
const StringPiece& encoded_filename,
 
  106   static const char kEscapeChar;
 
  107   static const char kTruncationChar;
 
  108   static const size_t kMaximumSubdirectoryLength;
 
  110   friend class UrlToFilenameEncoderTest;
 
  120   static void AppendSegment(
 
static void EncodeSegment(const StringPiece &filename_prefix, const StringPiece &escaped_ending, char dir_separator, GoogleString *encoded_filename)
 
Helper class for converting a URL into a filename. 
Definition: url_to_filename_encoder.h:82
 
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_. 
Definition: string.h:24
 
static bool Decode(const StringPiece &encoded_filename, GoogleString *decoded_url)