diff options
Diffstat (limited to 'chromium/webkit/common/user_agent/user_agent_util.h')
-rw-r--r-- | chromium/webkit/common/user_agent/user_agent_util.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/chromium/webkit/common/user_agent/user_agent_util.h b/chromium/webkit/common/user_agent/user_agent_util.h deleted file mode 100644 index e23b809a505..00000000000 --- a/chromium/webkit/common/user_agent/user_agent_util.h +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef WEBKIT_COMMON_USER_AGENT_USER_AGENT_UTIL_H_ -#define WEBKIT_COMMON_USER_AGENT_USER_AGENT_UTIL_H_ - -#include <string> - -#include "base/basictypes.h" -#include "webkit/common/user_agent/webkit_user_agent_export.h" - -namespace webkit_glue { - -// Builds a User-agent compatible string that describes the OS and CPU type. -WEBKIT_USER_AGENT_EXPORT std::string BuildOSCpuInfo(); - -// Returns the WebKit version, in the form "major.minor (branch@revision)". -WEBKIT_USER_AGENT_EXPORT std::string GetWebKitVersion(); - -// The following 2 functions return the major and minor webkit versions. -WEBKIT_USER_AGENT_EXPORT int GetWebKitMajorVersion(); -WEBKIT_USER_AGENT_EXPORT int GetWebKitMinorVersion(); - -WEBKIT_USER_AGENT_EXPORT std::string GetWebKitRevision(); - -// Helper function to generate a full user agent string from a short -// product name. -WEBKIT_USER_AGENT_EXPORT std::string BuildUserAgentFromProduct( - const std::string& product); - -// Builds a full user agent string given a string describing the OS and a -// product name. -WEBKIT_USER_AGENT_EXPORT std::string BuildUserAgentFromOSAndProduct( - const std::string& os_info, - const std::string& product); - -} // namespace webkit_glue - -#endif // WEBKIT_COMMON_USER_AGENT_USER_AGENT_UTIL_H_ |