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

Issue 14671011: Merge 199501 "[Android] Always set "mobile user agent" switch to..." (Closed)

Created:
7 years, 7 months ago by Yaron
Modified:
7 years, 7 months ago
Reviewers:
Yaron
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Merge 199501 "[Android] Always set "mobile user agent" switch to..." > [Android] Always set "mobile user agent" switch to the right vlaue when launching the browser process. > > This fixes the user agent for the browser process when the browser process has been started by an activity other than Main, like sync, bookmark provider, etc. If > chrome is started as a background process, the switch is never added. Since the > user agent is computed early on during start-up and not recomputed (from users > of content::GetUserAgent) this can lead to incorrect UA being reported and > broken results. > > We probably shouldn't do it this way long-term but this is a minimal fix for m27. > > NOTRY=true > BUG=237471 > > Review URL: https://chromiumcodereview.appspot.com/14682021 TBR=yfriedman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199829

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M content/public/android/java/src/org/chromium/content/browser/AndroidBrowserProcess.java View 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Yaron
7 years, 7 months ago (2013-05-13 21:40:49 UTC) #1
Yaron
7 years, 7 months ago (2013-05-13 21:40:55 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 manually as r199829.

Powered by Google App Engine
This is Rietveld 408576698