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

Issue 178263007: Simplify the user agent overriding code, in preparation for moving it out of src/webkit. (Closed)

Created:
6 years, 9 months ago by jam
Modified:
6 years, 9 months ago
Reviewers:
tfarina, jamesr
CC:
chromium-reviews, joi+watch-content_chromium.org, darin (slow to review)
Visibility:
Public.

Description

Simplify the user agent overriding code, in preparation for moving it out of src/webkit. These workarounds were added a long time ago before Chrome launched. The Microsoft one isn't needed as the download page has a link to the Mac version without the spoof. The Yahoo Japan download page says it's going away in June and just redirects to Microsoft. The gyao.yahoo.co.jp host doesn't use Silverlight now. promotion.shopping.yahoo.co.jp is dead. BUG=338338 R=jamesr@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255534

Patch Set 1 #

Patch Set 2 : remove test #

Patch Set 3 : sync #

Total comments: 10

Patch Set 4 : review comments #

Total comments: 2

Patch Set 5 : update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -135 lines) Patch
M content/app/content_main_runner.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_client.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M content/test/webkit_support.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webkit/common/user_agent/user_agent.h View 1 2 3 4 1 chunk +4 lines, -7 lines 0 comments Download
M webkit/common/user_agent/user_agent.cc View 1 2 3 5 chunks +8 lines, -66 lines 0 comments Download
D webkit/common/user_agent/user_agent_unittest.cc View 1 2 1 chunk +0 lines, -55 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
jam
6 years, 9 months ago (2014-03-06 17:44:16 UTC) #1
tfarina
Thanks John! I'll rebase my CL on top of this after it lands.
6 years, 9 months ago (2014-03-06 18:44:17 UTC) #2
jam
On 2014/03/06 18:44:17, tfarina wrote: > Thanks John! > > I'll rebase my CL on ...
6 years, 9 months ago (2014-03-06 18:56:34 UTC) #3
tfarina
On 2014/03/06 18:56:34, jam wrote: > On 2014/03/06 18:44:17, tfarina wrote: > > Thanks John! ...
6 years, 9 months ago (2014-03-06 19:48:41 UTC) #4
tfarina
https://codereview.chromium.org/178263007/diff/40001/webkit/common/user_agent/user_agent.cc File webkit/common/user_agent/user_agent.cc (right): https://codereview.chromium.org/178263007/diff/40001/webkit/common/user_agent/user_agent.cc#newcode9 webkit/common/user_agent/user_agent.cc:9: #include "base/strings/string_util.h" i think you can remove this and ...
6 years, 9 months ago (2014-03-06 19:55:45 UTC) #5
jam
On 2014/03/06 19:48:41, tfarina wrote: > On 2014/03/06 18:56:34, jam wrote: > > On 2014/03/06 ...
6 years, 9 months ago (2014-03-06 21:02:58 UTC) #6
jam
jamesr: darin is gone, care to take a look? in particular i want sanity checking ...
6 years, 9 months ago (2014-03-06 21:36:00 UTC) #7
jamesr
Ah, I was just wondering the other day if we could remove these workarounds. lgtm ...
6 years, 9 months ago (2014-03-06 21:57:57 UTC) #8
jamesr
Slightly OT but is the locking in this class really necessary? In the render process ...
6 years, 9 months ago (2014-03-06 22:08:46 UTC) #9
jam
On 2014/03/06 22:08:46, jamesr wrote: > Slightly OT but is the locking in this class ...
6 years, 9 months ago (2014-03-06 22:13:47 UTC) #10
tfarina
6 years, 9 months ago (2014-03-07 00:15:06 UTC) #11
forgot to upload a new patch set?

I don't see some changes.

https://codereview.chromium.org/178263007/diff/60001/webkit/common/user_agent...
File webkit/common/user_agent/user_agent.h (right):

https://codereview.chromium.org/178263007/diff/60001/webkit/common/user_agent...
webkit/common/user_agent/user_agent.h:10: #include "base/basictypes.h"
remove?

https://codereview.chromium.org/178263007/diff/60001/webkit/common/user_agent...
webkit/common/user_agent/user_agent.h:11: #include "url/gurl.h"
forward declare?

Powered by Google App Engine
This is Rietveld 408576698