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

Side by Side Diff: webkit/glue/user_agent.h

Issue 3225003: Second attempt at landing http://codereview.chromium.org/3214005... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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 | « no previous file | webkit/glue/user_agent.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 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 WEBKIT_GLUE_USER_AGENT_H_
6 #define WEBKIT_GLUE_USER_AGENT_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11
12 namespace webkit_glue {
13
14 // Construct the User-Agent header, filling in |result|.
15 // The other parameters are workarounds for broken websites:
16 // - If mimic_windows is true, produce a fake Windows Chrome string.
17 void BuildUserAgent(bool mimic_windows, std::string* result);
18
19 // Builds a User-agent compatible string that describes the OS and CPU type.
20 std::string BuildOSCpuInfo();
21
22 // Returns the WebKit version (major.minor).
23 std::string GetWebKitVersion();
24
25 } // namespace webkit_glue
26
27 #endif // WEBKIT_GLUE_USER_AGENT_H_
28
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/user_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698