Index: webkit/glue/user_agent.h |
diff --git a/webkit/glue/user_agent.h b/webkit/glue/user_agent.h |
index 60f6e53b7632dca4fe1808e6f174c2244b629846..d31602048d4b889f9de3f2b6eb125ddfd7e6542b 100644 |
--- a/webkit/glue/user_agent.h |
+++ b/webkit/glue/user_agent.h |
@@ -32,6 +32,12 @@ void SetUserAgentOSInfo(const std::string& os_info); |
// product name. |
std::string BuildUserAgentFromProduct(const std::string& product); |
+// Helper function to generate user agent string from current |
+// user agent string by replacing a part so to appear to be |
+// a tablet device (for Request Tablet Site) |
+std::string BuildUserAgentOverrideForTabletSiteFromUserAgent( |
+ const std::string& user_agent); |
+ |
} // namespace webkit_glue |
#endif // WEBKIT_GLUE_USER_AGENT_H_ |