• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
4 
5 #ifndef IOS_WEB_PUBLIC_USER_AGENT_H_
6 #define IOS_WEB_PUBLIC_USER_AGENT_H_
7 
8 #include <string>
9 
10 namespace web {
11 
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);
16 
17 }  // namespace web
18 
19 #endif  // IOS_WEB_PUBLIC_USER_AGENT_H_
20