Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: webkit/user_agent/user_agent_util.cc

Issue 10869073: Split user agent code out of the 'glue' target (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to trunk Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/user_agent/user_agent_util.h ('k') | webkit/user_agent/webkit_user_agent.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/glue/user_agent.h" 5 #include "webkit/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/string_util.h"
13 #include "base/stringprintf.h" 13 #include "base/stringprintf.h"
14 #include "base/sys_info.h" 14 #include "base/sys_info.h"
15 15
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 os_info.c_str(), 173 os_info.c_str(),
174 WEBKIT_VERSION_MAJOR, 174 WEBKIT_VERSION_MAJOR,
175 WEBKIT_VERSION_MINOR, 175 WEBKIT_VERSION_MINOR,
176 product.c_str(), 176 product.c_str(),
177 WEBKIT_VERSION_MAJOR, 177 WEBKIT_VERSION_MAJOR,
178 WEBKIT_VERSION_MINOR); 178 WEBKIT_VERSION_MINOR);
179 return user_agent; 179 return user_agent;
180 } 180 }
181 181
182 } // namespace webkit_glue 182 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/user_agent/user_agent_util.h ('k') | webkit/user_agent/webkit_user_agent.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698