diff options
author | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-27 17:40:42 +0000 |
---|---|---|
committer | dmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-27 17:40:42 +0000 |
commit | 0bad9b1895f6f0264527a9986044d9d1ee9152b1 (patch) | |
tree | 22a7464cbac92e2ee86c71ffc44ef580b7637963 /webkit/glue/user_agent.h | |
parent | d201b200e947d18ede55706197c62dbaeace8d5f (diff) | |
download | chromium_src-0bad9b1895f6f0264527a9986044d9d1ee9152b1.zip chromium_src-0bad9b1895f6f0264527a9986044d9d1ee9152b1.tar.gz chromium_src-0bad9b1895f6f0264527a9986044d9d1ee9152b1.tar.bz2 |
Revert 57692 - Factoring BuildUserAgent out to a separate lib for GCF can use it.
TEST=There should be no functional change. If anything breaks it should be the build.
BUG=50788
Review URL: http://codereview.chromium.org/3214005
TBR=tommi@chromium.org
Review URL: http://codereview.chromium.org/3275001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57696 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/user_agent.h')
-rw-r--r-- | webkit/glue/user_agent.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/webkit/glue/user_agent.h b/webkit/glue/user_agent.h deleted file mode 100644 index 914c5e68..0000000 --- a/webkit/glue/user_agent.h +++ /dev/null @@ -1,25 +0,0 @@ -// Copyright (c) 2010 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 WEBKIT_GLUE_USER_AGENT_H_ -#define WEBKIT_GLUE_USER_AGENT_H_ - -#include <string> - -#include "base/basictypes.h" - -namespace webkit_glue { - -// Construct the User-Agent header, filling in |result|. -// The other parameters are workarounds for broken websites: -// - If mimic_windows is true, produce a fake Windows Chrome string. -void BuildUserAgent(bool mimic_windows, std::string* result); - -// Builds a User-agent compatible string that describes the OS and CPU type. -std::string BuildOSCpuInfo(); - -} // namespace webkit_glue - -#endif // WEBKIT_GLUE_USER_AGENT_H_ - |