Page Speed Optimization Libraries
1.5.27.2
|
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 00050 const char kNoScriptRedirectFormatter[] = 00051 "<noscript><meta HTTP-EQUIV=\"refresh\" content=\"0;url='%s'\" />" 00052 "<style><!--table,div,span,font,p{display:none} --></style>" 00053 "<div style=\"display:block\">Please click <a href=\"%s\">here</a> " 00054 "if you are not redirected within a few seconds.</div></noscript>"; 00055 00058 const char kLinkRelCanonicalFormatter[] = 00059 "<link rel=\"canonical\" href=\"%s\"/>"; 00060 00061 } 00062 00063 #endif ///< NET_INSTAWEB_PUBLIC_GLOBAL_CONSTANTS_H_