| Index: ios/web/public/user_agent.h
|
| diff --git a/ios/web/public/user_agent.h b/ios/web/public/user_agent.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6b1f2fcba543f0f570d34cbb53460bc3076740a0
|
| --- /dev/null
|
| +++ b/ios/web/public/user_agent.h
|
| @@ -0,0 +1,19 @@
|
| +// Copyright 2014 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 IOS_WEB_PUBLIC_USER_AGENT_H_
|
| +#define IOS_WEB_PUBLIC_USER_AGENT_H_
|
| +
|
| +#include <string>
|
| +
|
| +namespace web {
|
| +
|
| +// Returns the user agent to use for the given product name.
|
| +// The returned user agent is very similar to that used by Mobile Safari, for
|
| +// web page compatibility.
|
| +std::string BuildUserAgentFromProduct(const std::string& product);
|
| +
|
| +} // namespace web
|
| +
|
| +#endif // IOS_WEB_PUBLIC_USER_AGENT_H_
|
|
|