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

Issue 7640011: Clean some code in syncscheduler.

Created:
9 years, 4 months ago by lipalani1
Modified:
9 years, 4 months ago
Reviewers:
CC:
chromium-reviews, Raghu Simha, ncarter (slow), tim (not reviewing), idana
Visibility:
Public.

Description

Clean some code in syncscheduler. BUG=90868 TEST=

Patch Set 1 #

Patch Set 2 : For review. #

Patch Set 3 : For review. #

Total comments: 5

Patch Set 4 : For review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -19 lines) Patch
M chrome/browser/sync/engine/sync_scheduler.cc View 1 2 3 5 chunks +28 lines, -19 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
lipalani1
Please review.
9 years, 4 months ago (2011-08-12 01:17:16 UTC) #1
tim (not reviewing)
http://codereview.chromium.org/7640011/diff/4001/chrome/browser/sync/engine/sync_scheduler.cc File chrome/browser/sync/engine/sync_scheduler.cc (right): http://codereview.chromium.org/7640011/diff/4001/chrome/browser/sync/engine/sync_scheduler.cc#newcode388 chrome/browser/sync/engine/sync_scheduler.cc:388: NOTREACHED(); a comment or << " ... " would ...
9 years, 4 months ago (2011-08-12 20:52:40 UTC) #2
lipalani1
Addressed the comments. http://codereview.chromium.org/7640011/diff/4001/chrome/browser/sync/engine/sync_scheduler.cc File chrome/browser/sync/engine/sync_scheduler.cc (right): http://codereview.chromium.org/7640011/diff/4001/chrome/browser/sync/engine/sync_scheduler.cc#newcode388 chrome/browser/sync/engine/sync_scheduler.cc:388: NOTREACHED(); On 2011/08/12 20:52:40, timsteele wrote: ...
9 years, 4 months ago (2011-08-12 21:01:47 UTC) #3
tim (not reviewing)
9 years, 4 months ago (2011-08-12 21:23:25 UTC) #4
http://codereview.chromium.org/7640011/diff/4001/chrome/browser/sync/engine/s...
File chrome/browser/sync/engine/sync_scheduler.cc (right):

http://codereview.chromium.org/7640011/diff/4001/chrome/browser/sync/engine/s...
chrome/browser/sync/engine/sync_scheduler.cc:776: // pending_job etc. Also those
"one off" jobs dont need to be retried.
On 2011/08/12 21:01:47, lipalani1 wrote:
> So the only other command that needs to be saved is clear user data. Nudges
and
> configs are taken care of.
> There is not enough value in retrying cleanupdisabled types if we find it was
> not cleaned properly.
> I have another patch for Clear user data which should take care of retrying
it.
> Thats why I have left it as a TODO here rather than just filling it in.
> I am treating CLEAR USER DATA is not a supported feature for now. let me know
> when you folks want that in and I can dust the CR and rebase it and send it
> again.
> On 2011/08/12 20:52:40, timsteele wrote:
> > this comment makes it seem as though we don't want them to be reliable?  see
> > crbug.com/57360.
> 

Hm, I'm worried what it would mean for migration if CleanupDisabled fails and we
don't retry?

Powered by Google App Engine
This is Rietveld 408576698