OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "webkit/common/user_agent/user_agent_util.h" | 5 #include "webkit/common/user_agent/user_agent_util.h" |
6 | 6 |
7 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 7 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
8 #include <sys/utsname.h> | 8 #include <sys/utsname.h> |
9 #endif | 9 #endif |
10 | 10 |
11 #include "base/lazy_instance.h" | 11 #include "base/lazy_instance.h" |
12 #include "base/string_util.h" | 12 #include "base/strings/string_util.h" |
13 #include "base/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
14 #include "base/sys_info.h" | 14 #include "base/sys_info.h" |
15 | 15 |
16 #if defined(OS_WIN) | 16 #if defined(OS_WIN) |
17 #include "base/win/windows_version.h" | 17 #include "base/win/windows_version.h" |
18 #endif | 18 #endif |
19 | 19 |
20 // Generated | 20 // Generated |
21 #include "webkit_version.h" // NOLINT | 21 #include "webkit_version.h" // NOLINT |
22 | 22 |
23 namespace webkit_glue { | 23 namespace webkit_glue { |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 os_info.c_str(), | 187 os_info.c_str(), |
188 WEBKIT_VERSION_MAJOR, | 188 WEBKIT_VERSION_MAJOR, |
189 WEBKIT_VERSION_MINOR, | 189 WEBKIT_VERSION_MINOR, |
190 product.c_str(), | 190 product.c_str(), |
191 WEBKIT_VERSION_MAJOR, | 191 WEBKIT_VERSION_MAJOR, |
192 WEBKIT_VERSION_MINOR); | 192 WEBKIT_VERSION_MINOR); |
193 return user_agent; | 193 return user_agent; |
194 } | 194 } |
195 | 195 |
196 } // namespace webkit_glue | 196 } // namespace webkit_glue |
OLD | NEW |