Roll src/third_party/WebKit f007c95:0171005 (svn 185074:185088)
[chromium-blink-merge.git] / ios / web / public / user_agent.h
blob6b1f2fcba543f0f570d34cbb53460bc3076740a0
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef IOS_WEB_PUBLIC_USER_AGENT_H_
6 #define IOS_WEB_PUBLIC_USER_AGENT_H_
8 #include <string>
10 namespace web {
12 // Returns the user agent to use for the given product name.
13 // The returned user agent is very similar to that used by Mobile Safari, for
14 // web page compatibility.
15 std::string BuildUserAgentFromProduct(const std::string& product);
17 } // namespace web
19 #endif // IOS_WEB_PUBLIC_USER_AGENT_H_