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

Issue 3455009: Change the frequency of update checks depending on the installed channel of chrome. (Closed)

Created:
10 years, 3 months ago by Evan Stade
Modified:
9 years, 6 months ago
Reviewers:
Finnur
CC:
chromium-reviews, ben+cc_chromium.org
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Change the frequency of update checks depending on the installed channel of chrome. BUG=50278 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60207

Patch Set 1 #

Total comments: 6

Patch Set 2 : finnur review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -13 lines) Patch
M chrome/browser/gtk/update_recommended_dialog.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/upgrade_detector.cc View 1 3 chunks +22 lines, -11 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Evan Stade
I just picked these frequencies arbitrarily, let me know what you think they should be.
10 years, 3 months ago (2010-09-21 00:01:21 UTC) #1
Finnur
Thanks for working on this. There is a bug, which I have assigned to you. ...
10 years, 3 months ago (2010-09-21 10:33:44 UTC) #2
Evan Stade
http://codereview.chromium.org/3455009/diff/1/2 File chrome/browser/gtk/update_recommended_dialog.cc (right): http://codereview.chromium.org/3455009/diff/1/2#newcode31 chrome/browser/gtk/update_recommended_dialog.cc:31: GTK_RESPONSE_REJECT, On 2010/09/21 10:33:44, Finnur wrote: > I assume ...
10 years, 3 months ago (2010-09-21 19:38:11 UTC) #3
Finnur
10 years, 3 months ago (2010-09-21 21:16:07 UTC) #4
LGTM

On 2010/09/21 19:38:11, Evan Stade wrote:
> http://codereview.chromium.org/3455009/diff/1/2
> File chrome/browser/gtk/update_recommended_dialog.cc (right):
> 
> http://codereview.chromium.org/3455009/diff/1/2#newcode31
> chrome/browser/gtk/update_recommended_dialog.cc:31: GTK_RESPONSE_REJECT,
> On 2010/09/21 10:33:44, Finnur wrote:
> > I assume this reverses the order of the buttons? What is the convention here
> in
> > our GTK port - main action button to the right, cancel to the left?
> 
> yes
> 
> http://codereview.chromium.org/3455009/diff/1/3
> File chrome/browser/upgrade_detector.cc (right):
> 
> http://codereview.chromium.org/3455009/diff/1/3#newcode39
> chrome/browser/upgrade_detector.cc:39: const std::string channel =
> platform_util::GetVersionStringModifier();
> On 2010/09/21 10:33:44, Finnur wrote:
> > 10 bonus points for adding a function to GoogleUpdateSettings that returns
an
> > enum with this information, instead of parsing the strings.
> 
> I like this idea, but I think it would have to live in
> common/version_info.{h,cc} because GoogleUpdateSettings is win-only. And
either
> way this would require moving a bunch of code from browser/platform_util, so
it
> seems better to save it for another cl.
> 
> http://codereview.chromium.org/3455009/diff/1/3#newcode165
> chrome/browser/upgrade_detector.cc:165: interval_ms *= 1000;  // Command line
> value is in seconds.
> On 2010/09/21 10:33:44, Finnur wrote:
> > Now that we have a function GetCheckForUpgradeEveryMs(), this code should
> > probably live there. Then you can check for the command line value first and
> (if
> > it exists) skip any calculations based on the string.
> 
> Done.

Powered by Google App Engine
This is Rietveld 408576698