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

Issue 3398018: AU: Skip all automatic update checks if OOBE is not complete. (Closed)

Created:
10 years, 3 months ago by petkov
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org, adlr
Visibility:
Public.

Description

AU: Skip all automatic update checks if OOBE is not complete. Right before an automatic update check is initiated, check if OOBE is complete. If it is, go ahead with the check. Otherwise, skip the check and schedule a new one as if it is the first one. BUG=5377 TEST=unit tests, gmerged on device and tried with/without .oobe_completed. Change-Id: I713e156a176b58a4dd04a01bca340b88277b0361 Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=2a0e633

Patch Set 1 #

Patch Set 2 : fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -4 lines) Patch
M update_check_scheduler.h View 2 chunks +4 lines, -1 line 0 comments Download
M update_check_scheduler.cc View 2 chunks +12 lines, -1 line 0 comments Download
M update_check_scheduler_unittest.cc View 4 chunks +30 lines, -2 lines 0 comments Download
M utils.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M utils.cc View 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
petkov
10 years, 3 months ago (2010-09-22 18:26:37 UTC) #1
adlr
LGTM
10 years, 3 months ago (2010-09-22 19:10:38 UTC) #2
Dmitry Polukhin
LGTM
10 years, 3 months ago (2010-09-23 10:00:48 UTC) #3
petkov
adlr, dpolukhin, nkostylev: Do we create the /home/chronos/.oobe_completed file in existing dogfood devices? If not, ...
10 years, 3 months ago (2010-09-23 16:46:25 UTC) #4
Dmitry Polukhin
This file should exist for all current users (and will be recreated if it is ...
10 years, 3 months ago (2010-09-23 16:58:22 UTC) #5
petkov
On 2010/09/23 16:58:22, Dmitry Polukhin wrote: > This file should exist for all current users ...
10 years, 3 months ago (2010-09-23 17:01:33 UTC) #6
adlr
On Thu, Sep 23, 2010 at 10:01 AM, <petkov@chromium.org> wrote: > On 2010/09/23 16:58:22, Dmitry ...
10 years, 3 months ago (2010-09-23 18:13:59 UTC) #7
Dmitry Polukhin
It is very strange. Do you have any remembered user on login screen? Do you ...
10 years, 3 months ago (2010-09-23 18:52:14 UTC) #8
Dmitry Polukhin
BTW, it is hidden file so it might be not visible in UI. On Thu, ...
10 years, 3 months ago (2010-09-23 18:53:33 UTC) #9
petkov
On 2010/09/23 18:52:14, Dmitry Polukhin wrote: > It is very strange. Do you have any ...
10 years, 3 months ago (2010-09-23 19:02:42 UTC) #10
petkov
On 2010/09/23 18:53:33, Dmitry Polukhin wrote: > BTW, it is hidden file so it might ...
10 years, 3 months ago (2010-09-23 19:03:15 UTC) #11
petkov
> > We have special check that creates .oobe_completed file on login if there > ...
10 years, 3 months ago (2010-09-23 19:08:50 UTC) #12
petkov
FWIW, I checked another dogfood device auto-updated to the same dev-channel version and it does ...
10 years, 3 months ago (2010-09-23 19:13:13 UTC) #13
Nikita (slow)
10 years, 3 months ago (2010-09-24 14:02:59 UTC) #14
LGTM

Powered by Google App Engine
This is Rietveld 408576698