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

Issue 6243007: Make sure we show the restart message if system level Chrome has been upgrade... (Closed)

Created:
9 years, 11 months ago by Finnur
Modified:
9 years, 6 months ago
Reviewers:
huanr
CC:
chromium-reviews
Visibility:
Public.

Description

Make sure we show the restart message if system level Chrome has been upgraded manually by the user. Also add scoped_allowio until they can be evaluated (see bug). BUG=66715 TEST=See bug for details. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71784

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M chrome/browser/ui/views/about_chrome_view.cc View 2 chunks +8 lines, -0 lines 3 comments Download

Messages

Total messages: 5 (0 generated)
Finnur
9 years, 11 months ago (2011-01-18 11:08:29 UTC) #1
huanr
http://codereview.chromium.org/6243007/diff/1/chrome/browser/ui/views/about_chrome_view.cc File chrome/browser/ui/views/about_chrome_view.cc (right): http://codereview.chromium.org/6243007/diff/1/chrome/browser/ui/views/about_chrome_view.cc#newcode758 chrome/browser/ui/views/about_chrome_view.cc:758: base::ThreadRestrictions::ScopedAllowIO allow_io; When can UpdateStatus() be called? Does it ...
9 years, 11 months ago (2011-01-18 19:30:55 UTC) #2
Finnur
http://codereview.chromium.org/6243007/diff/1/chrome/browser/ui/views/about_chrome_view.cc File chrome/browser/ui/views/about_chrome_view.cc (right): http://codereview.chromium.org/6243007/diff/1/chrome/browser/ui/views/about_chrome_view.cc#newcode758 chrome/browser/ui/views/about_chrome_view.cc:758: base::ThreadRestrictions::ScopedAllowIO allow_io; Nope, this is "About Box"-specific. This code ...
9 years, 11 months ago (2011-01-18 23:25:29 UTC) #3
huanr
LGTM http://codereview.chromium.org/6243007/diff/1/chrome/browser/ui/views/about_chrome_view.cc File chrome/browser/ui/views/about_chrome_view.cc (right): http://codereview.chromium.org/6243007/diff/1/chrome/browser/ui/views/about_chrome_view.cc#newcode758 chrome/browser/ui/views/about_chrome_view.cc:758: base::ThreadRestrictions::ScopedAllowIO allow_io; If we are certain the code ...
9 years, 11 months ago (2011-01-18 23:34:22 UTC) #4
Finnur
9 years, 11 months ago (2011-01-19 10:31:18 UTC) #5
OK, I'll close the bug then and remove the bug reference from the code before
checking in. We can always adjust it in a followup changelist if people object. 

On 2011/01/18 23:34:22, huanr wrote:
> LGTM
> 
>
http://codereview.chromium.org/6243007/diff/1/chrome/browser/ui/views/about_c...
> File chrome/browser/ui/views/about_chrome_view.cc (right):
> 
>
http://codereview.chromium.org/6243007/diff/1/chrome/browser/ui/views/about_c...
> chrome/browser/ui/views/about_chrome_view.cc:758:
> base::ThreadRestrictions::ScopedAllowIO allow_io;
> If we are certain the code only runs when the user opens the dialog box, doing
> IO seems ok.
> 
> 
> On 2011/01/18 23:25:30, Finnur wrote:
> > Nope, this is "About Box"-specific. This code only runs as a result of the
> user
> > opening the dialog box. The background check is separate code (that shunts
the
> > request to the File thread IIRC).
> > 
> > On 2011/01/18 19:30:55, huanr wrote:
> > > When can UpdateStatus() be called? Does it run in background schedule
every
> 24
> > > hours as well as when user click on about button?
> >

Powered by Google App Engine
This is Rietveld 408576698