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

Unified Diff: chrome_frame/html_utils.cc

Issue 7922023: Remove webkit_glue::BuildUserAgent(), remove windows spoofing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge to r102225 Created 9 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
Index: chrome_frame/html_utils.cc
diff --git a/chrome_frame/html_utils.cc b/chrome_frame/html_utils.cc
index 9458166657b77afeb561027a3d547433dd8f25cb..3121a756fa786fa0556201e1625e6171e5bde094 100644
--- a/chrome_frame/html_utils.cc
+++ b/chrome_frame/html_utils.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
//
@@ -385,7 +385,7 @@ const char* GetChromeUserAgent() {
product += version_info.is_valid() ? version_info.Version()
: "0.0.0.0";
- ua = webkit_glue::BuildUserAgentHelper(false, product);
+ ua = webkit_glue::BuildUserAgentFromProduct(product);
DCHECK(ua.length() < arraysize(g_chrome_user_agent));
lstrcpynA(g_chrome_user_agent, ua.c_str(),

Powered by Google App Engine
This is Rietveld 408576698