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

Issue 8883043: Chrome version info getter for Chrome OS. (Closed)

Created:
9 years ago by kochi
Modified:
9 years ago
CC:
chromium-reviews
Visibility:
Public.

Description

Chrome version info getter for Chrome OS. Properly handles getting channel information for Chrome OS. Unlike linux desktop version, it has to check the information stored in /etc/lsb-release (keyed as "CHROMEOS_RELEASE_TRACK"). Asking the track info from udpate_engine_client via dbus would not work here because it contains *next* channel if the user manually changed the channel (e.g. stable -> dev, update_engine_client returns "dev-channel"). This fixes chromium-os:22883, but some early GetChannel() users still misses correct channel information. BUG=chromium:107333, chromium-os:22883 TEST=chrome://sync and see if sync server points to https://clients4.google.com/chrome-sync/dev on dev channel. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114388

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 4

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 2

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -2 lines) Patch
M chrome/browser/chromeos/system/statistics_provider.cc View 1 2 3 4 5 6 7 2 chunks +15 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/common/chrome_version_info.h View 1 2 3 4 5 6 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/common/chrome_version_info_chromeos.cc View 1 2 3 4 5 6 7 8 1 chunk +50 lines, -0 lines 0 comments Download
M chrome/common/chrome_version_info_linux.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
kochi
Hi Haraken-san, I would like to review chrome version getter for Chrome OS, as the ...
9 years ago (2011-12-12 06:18:34 UTC) #1
kochi
I got a build error of dependency check (including a chromeos header). I'll fix this ...
9 years ago (2011-12-12 06:27:03 UTC) #2
haraken
http://codereview.chromium.org/8883043/diff/8001/chrome/common/chrome_version_info_chromeos.cc File chrome/common/chrome_version_info_chromeos.cc (right): http://codereview.chromium.org/8883043/diff/8001/chrome/common/chrome_version_info_chromeos.cc#newcode14 chrome/common/chrome_version_info_chromeos.cc:14: std::string VersionInfo::GetVersionStringModifier() { In order to make it consistent ...
9 years ago (2011-12-12 06:30:48 UTC) #3
petkov
> Darin, > > Could you check if this is the correct way to obtain ...
9 years ago (2011-12-12 11:00:06 UTC) #4
kochi
Thanks Darin, Haraken-san, Tim, could you take another look? I admit that this is not ...
9 years ago (2011-12-13 09:32:49 UTC) #5
haraken
http://codereview.chromium.org/8883043/diff/6005/chrome/common/chrome_version_info_chromeos.cc File chrome/common/chrome_version_info_chromeos.cc (right): http://codereview.chromium.org/8883043/diff/6005/chrome/common/chrome_version_info_chromeos.cc#newcode27 chrome/common/chrome_version_info_chromeos.cc:27: return "unknown"; I guess that this might be 'return ...
9 years ago (2011-12-13 09:32:57 UTC) #6
kochi
http://codereview.chromium.org/8883043/diff/6005/chrome/common/chrome_version_info_chromeos.cc File chrome/common/chrome_version_info_chromeos.cc (right): http://codereview.chromium.org/8883043/diff/6005/chrome/common/chrome_version_info_chromeos.cc#newcode27 chrome/common/chrome_version_info_chromeos.cc:27: return "unknown"; On 2011/12/13 09:32:57, haraken1 wrote: > I ...
9 years ago (2011-12-13 10:22:00 UTC) #7
haraken
LGTM (though I am not an OWNER)
9 years ago (2011-12-13 10:25:35 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kochi@chromium.org/8883043/4013
9 years ago (2011-12-14 03:42:26 UTC) #9
kochi
On 2011/12/13 10:25:35, haraken1 wrote: > LGTM (though I am not an OWNER) It seems ...
9 years ago (2011-12-14 03:43:06 UTC) #10
commit-bot: I haz the power
The commit queue went berserk retrying too often for a seemingly flaky test. Builder is ...
9 years ago (2011-12-14 06:01:49 UTC) #11
tim (not reviewing)
On 2011/12/14 06:01:49, I haz the power (commit-bot) wrote: > The commit queue went berserk ...
9 years ago (2011-12-14 08:02:26 UTC) #12
M-A Ruel
On 2011/12/14 08:02:26, timsteele wrote: > On 2011/12/14 06:01:49, I haz the power (commit-bot) wrote: ...
9 years ago (2011-12-14 15:59:46 UTC) #13
tim (not reviewing)
On 2011/12/14 15:59:46, Marc-Antoine Ruel wrote: > On 2011/12/14 08:02:26, timsteele wrote: > > On ...
9 years ago (2011-12-14 16:44:04 UTC) #14
kochi
9 years ago (2011-12-15 05:20:29 UTC) #15
On 2011/12/14 16:44:04, timsteele wrote:
> On 2011/12/14 15:59:46, Marc-Antoine Ruel wrote:
> > On 2011/12/14 08:02:26, timsteele wrote:
> > > On 2011/12/14 06:01:49, I haz the power (commit-bot) wrote:
> > > > The commit queue went berserk retrying too often for a
> > > > seemingly flaky test. Builder is win_rel, revision is 114351, job name
> > > > was 8883043-4013 (retry) (previous was lost) (previous was lost)
(previous
> > was
> > > > lost).
> > > 
> > > Could someone comment on how this was handled previously?  I'm trying to
> > > understand how this regressed so dramatically...
> > 
> > It's related to the try server upgraded that occurred last night, I forgot
to
> > upgrade the CQ accordingly. Sorry for the annoyance.
> 
> Just so I'm clear my question was referring to the original bug, not the CQ
> error :)

Added a comment on the original issue.
If it's not answering your question, let's continue on the issue 22883.

Powered by Google App Engine
This is Rietveld 408576698