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

Unified Diff: webkit/glue/user_agent.h

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/shell_content_client.cc ('k') | webkit/glue/user_agent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/user_agent.h
diff --git a/webkit/glue/user_agent.h b/webkit/glue/user_agent.h
deleted file mode 100644
index c82571f203128915d19aaf53277086cf794cb3df..0000000000000000000000000000000000000000
--- a/webkit/glue/user_agent.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2012 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 {
-
-// Builds a User-agent compatible string that describes the OS and CPU type.
-std::string BuildOSCpuInfo();
-
-// Returns the WebKit version, in the form "major.minor (branch@revision)".
-std::string GetWebKitVersion();
-
-// The following 2 functions return the major and minor webkit versions.
-int GetWebKitMajorVersion();
-int GetWebKitMinorVersion();
-
-// Helper function to generate a full user agent string from a short
-// product name.
-std::string BuildUserAgentFromProduct(const std::string& product);
-
-// Builds a full user agent string given a string describing the OS and a
-// product name.
-std::string BuildUserAgentFromOSAndProduct(const std::string& os_info,
- const std::string& product);
-
-} // namespace webkit_glue
-
-#endif // WEBKIT_GLUE_USER_AGENT_H_
« no previous file with comments | « content/shell/shell_content_client.cc ('k') | webkit/glue/user_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698