Chromium Code Reviews
DescriptionChrome 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 : '' #
Messages
Total messages: 15 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||