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

Issue 2773002: Fix problem whereby the "-full" magic value is removed from the "ap" value wh... (Closed)

Created:
10 years, 6 months ago by robertshield
Modified:
9 years, 6 months ago
CC:
chromium-reviews, kuchhal, amit
Visibility:
Public.

Description

Fix problem whereby the "-full" magic value is removed from the "ap" value when a differential update for CF fails (it should remain unless the update succeeds). Also, fix problem with installer return codes being squashed. This was a regression introduced in http://src.chromium.org/viewvc/chrome?view=rev&revision=41322. BUG=46051, 40607 TEST=Cause a differential update to fail, observe that the "ap" value contains a "-full". Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49346

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -278 lines) Patch
M chrome/installer/setup/setup_main.cc View 1 chunk +1 line, -1 line 2 comments Download
M chrome/installer/util/chrome_frame_distribution.cc View 1 2 2 chunks +4 lines, -21 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution.h View 1 chunk +0 lines, -15 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution.cc View 1 2 chunks +3 lines, -59 lines 0 comments Download
M chrome/installer/util/google_chrome_distribution_unittest.cc View 2 chunks +1 line, -173 lines 0 comments Download
M chrome/installer/util/google_update_settings.h View 1 chunk +21 lines, -0 lines 0 comments Download
M chrome/installer/util/google_update_settings.cc View 2 chunks +72 lines, -8 lines 0 comments Download
M chrome/installer/util/google_update_settings_unittest.cc View 2 4 chunks +183 lines, -0 lines 0 comments Download
M chrome/installer/util/install_util.cc View 1 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
robertshield
10 years, 6 months ago (2010-06-08 21:55:50 UTC) #1
Paweł Hajdan Jr.
Drive-by with a minor test comment. http://codereview.chromium.org/2773002/diff/10001/11008 File chrome/installer/util/google_update_settings_unittest.cc (right): http://codereview.chromium.org/2773002/diff/10001/11008#newcode277 chrome/installer/util/google_update_settings_unittest.cc:277: if (!CreateApKey(work_item_list.get(), L"")) ...
10 years, 6 months ago (2010-06-09 06:59:15 UTC) #2
robertshield
Thanks Pawel! http://codereview.chromium.org/2773002/diff/10001/11008 File chrome/installer/util/google_update_settings_unittest.cc (right): http://codereview.chromium.org/2773002/diff/10001/11008#newcode277 chrome/installer/util/google_update_settings_unittest.cc:277: if (!CreateApKey(work_item_list.get(), L"")) On 2010/06/09 06:59:15, Paweł ...
10 years, 6 months ago (2010-06-09 23:25:41 UTC) #3
huanr
LGTM http://codereview.chromium.org/2773002/diff/12004/23001 File chrome/installer/setup/setup_main.cc (right): http://codereview.chromium.org/2773002/diff/12004/23001#newcode745 chrome/installer/setup/setup_main.cc:745: return_code = dist->GetInstallReturnCode(install_status); So this is a regression ...
10 years, 6 months ago (2010-06-09 23:46:11 UTC) #4
robertshield
http://codereview.chromium.org/2773002/diff/12004/23001 File chrome/installer/setup/setup_main.cc (right): http://codereview.chromium.org/2773002/diff/12004/23001#newcode745 chrome/installer/setup/setup_main.cc:745: return_code = dist->GetInstallReturnCode(install_status); On 2010/06/09 23:46:11, huanr wrote: > ...
10 years, 6 months ago (2010-06-10 00:30:30 UTC) #5
huanr
The current behavior is that we alway report success. How is that same as 40607? ...
10 years, 6 months ago (2010-06-10 00:35:24 UTC) #6
huanr
10 years, 6 months ago (2010-06-10 00:36:45 UTC) #7
On Wed, Jun 9, 2010 at 5:35 PM, Huan Ren <huanr@google.com> wrote:

> The current behavior is that we alway report success. How is that same as
> 40607?


Never mind. I misread the bug.


>
> Huan
>
>
> On Wed, Jun 9, 2010 at 5:30 PM, <robertshield@chromium.org> wrote:
>
>>
>> http://codereview.chromium.org/2773002/diff/12004/23001
>> File chrome/installer/setup/setup_main.cc (right):
>>
>> http://codereview.chromium.org/2773002/diff/12004/23001#newcode745
>> chrome/installer/setup/setup_main.cc:745: return_code =
>> dist->GetInstallReturnCode(install_status);
>> On 2010/06/09 23:46:11, huanr wrote:
>>
>>> So this is a regression by r41322 3 months ago
>>> http://src.chromium.org/viewvc/chrome?view=rev&revision=41322
>>>
>>
>>  Did we have any related user bug report?
>>>
>>
>> Yes, it is a regression. I believe this could impact
>> http://crbug.com/40607
>>
>>
>> http://codereview.chromium.org/2773002/show
>>
>
>

Powered by Google App Engine
This is Rietveld 408576698