Page Speed Optimization Libraries  1.7.30.2
net/instaweb/public/global_constants.h
Go to the documentation of this file.
00001 /*
00002  * Copyright 2010 Google Inc.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *      http:///www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00018 
00020 
00021 #ifndef NET_INSTAWEB_PUBLIC_GLOBAL_CONSTANTS_H_
00022 #define NET_INSTAWEB_PUBLIC_GLOBAL_CONSTANTS_H_
00023 
00024 namespace {
00025 
00029 static const double kChromiumTimeOfDay = 1204251968254LL;
00030 
00031 const char kModPagespeedHeader[] = "X-Mod-Pagespeed";
00032 const char kPageSpeedHeader[] = "X-Page-Speed";
00033 
00035 const char kModPagespeedSubrequestUserAgent[] = "mod_pagespeed";
00036 
00037 const char kWPTUserAgentIdentifier[] = "PTST";
00038 
00041 const char kPsaRewriterHeader[] = "X-PSA-Rewriter";
00042 
00046 const char kPsaLastModified[] = "X-PSA-Last-Modified";
00047 
00052 const char kPsaPurgeRequest[] = "X-PSA-Purge-Request";
00053 
00060 const char kPsaCapabilityList[] = "PS-CapabilityList";
00061 
00068 const char kPsaShouldBeacon[] = "PS-ShouldBeacon";
00069 
00072 const char kNoScriptRedirectFormatter[] =
00073     "<noscript><meta HTTP-EQUIV=\"refresh\" content=\"0;url='%s'\" />"
00074     "<style><!--table,div,span,font,p{display:none} --></style>"
00075     "<div style=\"display:block\">Please click <a href=\"%s\">here</a> "
00076     "if you are not redirected within a few seconds.</div></noscript>";
00077 
00080 const char kLinkRelCanonicalFormatter[] =
00081     "<link rel=\"canonical\" href=\"%s\"/>";
00082 
00083 }  
00084 
00085 #endif  ///< NET_INSTAWEB_PUBLIC_GLOBAL_CONSTANTS_H_
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines