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

Issue 10827322: Set linux distro to CHROMEOS_RELEASE_DESCRIPTION on ChromeOS (Closed)

Created:
8 years, 4 months ago by Rick Byers
Modified:
8 years, 4 months ago
Reviewers:
brettw
CC:
chromium-reviews, erikwright+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Set linux distro to CHROMEOS_RELEASE_DESCRIPTION on ChromeOS This makes ChromeOS more consistent with Linux, which uses the DISTRIB_DESCRIPTION from /etc/lsb-release here. We have a different pre-existing mechanism in the code for reading the value (since ChromeOS doesn't have the lsb_release tool), but it's conceptually the same thing. This makes it possible to search / catagorize ChromeOS crash reports based on the build, or other information about the ChromeOS version. It also allows the matching build/symbols to be more easily found given a crash report. There's no need for Aura customization of distro anymore - that was added when Aura was experimental. All ChromeOS is now Aura. BUG=142630 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151741

Patch Set 1 #

Total comments: 7

Patch Set 2 : BrettW CR feedback #

Patch Set 3 : Merge with trunk and switch to const-ref string params in version loader callbacks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -21 lines) Patch
M base/linux_util.cc View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/chrome_browser_main_linux.h View 1 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/chrome_browser_main_linux.cc View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/version_info_updater.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/version_info_updater.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/version_loader.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/policy/device_status_collector.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/policy/device_status_collector.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/about_ui.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/register_page_ui.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/help/help_handler.h View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/help/help_handler.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Rick Byers
Hey Brett, Can you please review this little change to improve our crash reporting on ...
8 years, 4 months ago (2012-08-14 19:32:53 UTC) #1
brettw
lgtm http://codereview.chromium.org/10827322/diff/1/chrome/browser/chrome_browser_main_linux.cc File chrome/browser/chrome_browser_main_linux.cc (right): http://codereview.chromium.org/10827322/diff/1/chrome/browser/chrome_browser_main_linux.cc#newcode35 chrome/browser/chrome_browser_main_linux.cc:35: std::string version) Can you make this a const ...
8 years, 4 months ago (2012-08-14 19:42:32 UTC) #2
Rick Byers
Thanks for the quick response! http://codereview.chromium.org/10827322/diff/1/chrome/browser/chrome_browser_main_linux.cc File chrome/browser/chrome_browser_main_linux.cc (right): http://codereview.chromium.org/10827322/diff/1/chrome/browser/chrome_browser_main_linux.cc#newcode35 chrome/browser/chrome_browser_main_linux.cc:35: std::string version) On 2012/08/14 ...
8 years, 4 months ago (2012-08-14 20:07:00 UTC) #3
brettw
http://codereview.chromium.org/10827322/diff/1/chrome/browser/chrome_browser_main_linux.cc File chrome/browser/chrome_browser_main_linux.cc (right): http://codereview.chromium.org/10827322/diff/1/chrome/browser/chrome_browser_main_linux.cc#newcode35 chrome/browser/chrome_browser_main_linux.cc:35: std::string version) Bind should know to copy const ref ...
8 years, 4 months ago (2012-08-14 20:08:52 UTC) #4
Rick Byers
On 2012/08/14 20:08:52, brettw wrote: > http://codereview.chromium.org/10827322/diff/1/chrome/browser/chrome_browser_main_linux.cc > File chrome/browser/chrome_browser_main_linux.cc (right): > > http://codereview.chromium.org/10827322/diff/1/chrome/browser/chrome_browser_main_linux.cc#newcode35 > ...
8 years, 4 months ago (2012-08-15 14:39:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rbyers@chromium.org/10827322/9001
8 years, 4 months ago (2012-08-15 18:09:26 UTC) #6
commit-bot: I haz the power
8 years, 4 months ago (2012-08-15 20:54:10 UTC) #7
Change committed as 151741

Powered by Google App Engine
This is Rietveld 408576698