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

Issue 9323015: [Sync] - In about:sync page display if the first sync after restart has taken place or not. (Closed)

Created:
8 years, 10 months ago by lipalani1
Modified:
8 years, 6 months ago
Reviewers:
rlarocque
CC:
chromium-reviews, Raghu Simha, ncarter (slow), arv (Not doing code reviews), akalin, tim (not reviewing)
Visibility:
Public.

Description

After restart if a sync has not taken place then most of the values in about:sync page are speculative. Indicate that by a new summary called UnInitialized and in the description say that the values displayed here are speculative. BUG=112229 TEST=try bots

Patch Set 1 #

Total comments: 14

Patch Set 2 : For review. #

Patch Set 3 : For review. #

Total comments: 2

Patch Set 4 : For review. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -10 lines) Patch
M chrome/browser/resources/sync_internals/about.html View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/sync/engine/all_status.cc View 1 2 3 3 chunks +19 lines, -8 lines 2 comments Download
M chrome/browser/sync/internal_api/sync_manager.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/sync/internal_api/sync_manager.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 1 chunk +2 lines, -2 lines 1 comment Download
M chrome/browser/sync/sync_ui_util.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
lipalani1
Please review.
8 years, 10 months ago (2012-02-02 21:59:02 UTC) #1
rlarocque
Some comments. http://codereview.chromium.org/9323015/diff/1/chrome/browser/sync/engine/all_status.cc File chrome/browser/sync/engine/all_status.cc (left): http://codereview.chromium.org/9323015/diff/1/chrome/browser/sync/engine/all_status.cc#oldcode37 chrome/browser/sync/engine/all_status.cc:37: status.initial_sync_ended = false; How is this change ...
8 years, 10 months ago (2012-02-02 22:44:12 UTC) #2
lipalani1
PTAL. http://codereview.chromium.org/9323015/diff/1/chrome/browser/sync/engine/all_status.cc File chrome/browser/sync/engine/all_status.cc (left): http://codereview.chromium.org/9323015/diff/1/chrome/browser/sync/engine/all_status.cc#oldcode37 chrome/browser/sync/engine/all_status.cc:37: status.initial_sync_ended = false; I thought about it some ...
8 years, 10 months ago (2012-02-03 01:55:39 UTC) #3
rlarocque
More comments. http://codereview.chromium.org/9323015/diff/1/chrome/browser/sync/engine/all_status.cc File chrome/browser/sync/engine/all_status.cc (right): http://codereview.chromium.org/9323015/diff/1/chrome/browser/sync/engine/all_status.cc#newcode104 chrome/browser/sync/engine/all_status.cc:104: status_.summary = sync_api::SyncManager::Status::OFFLINE_UNUSABLE; On 2012/02/03 01:55:39, lipalani1 ...
8 years, 10 months ago (2012-02-03 18:55:03 UTC) #4
lipalani1
Sorry got caught up in other patches. The OFFLINE_UNUSED http://codereview.chromium.org/9323015/diff/14/chrome/browser/sync/internal_api/sync_manager.h File chrome/browser/sync/internal_api/sync_manager.h (right): http://codereview.chromium.org/9323015/diff/14/chrome/browser/sync/internal_api/sync_manager.h#newcode109 chrome/browser/sync/internal_api/sync_manager.h:109: ...
8 years, 10 months ago (2012-02-07 23:34:11 UTC) #5
lipalani1
Hit send too soon. The offline_unused was an oversight in my part. put the code ...
8 years, 10 months ago (2012-02-07 23:36:45 UTC) #6
rlarocque
On 2012/02/07 23:36:45, lipalani1 wrote: > Hit send too soon. > The offline_unused was an ...
8 years, 10 months ago (2012-02-07 23:55:49 UTC) #7
rlarocque
Inline comments did not publish on the first try. Let's try again... http://codereview.chromium.org/9323015/diff/8001/chrome/browser/sync/engine/all_status.cc File chrome/browser/sync/engine/all_status.cc ...
8 years, 10 months ago (2012-02-08 00:07:37 UTC) #8
lipalani1
Hmm.. I thought about this little hard. here are 2 observations: 1. I thought about ...
8 years, 10 months ago (2012-02-08 19:40:16 UTC) #9
lipalani1
answer to your inline comment. http://codereview.chromium.org/9323015/diff/8001/chrome/browser/sync/engine/all_status.cc File chrome/browser/sync/engine/all_status.cc (right): http://codereview.chromium.org/9323015/diff/8001/chrome/browser/sync/engine/all_status.cc#newcode101 chrome/browser/sync/engine/all_status.cc:101: if (status_.syncing) { Nothing ...
8 years, 10 months ago (2012-02-08 19:41:50 UTC) #10
rlarocque
On 2012/02/08 19:40:16, lipalani1 wrote: > Hmm.. I thought about this little hard. here are ...
8 years, 10 months ago (2012-02-08 21:13:54 UTC) #11
rlarocque
8 years, 10 months ago (2012-02-09 20:06:27 UTC) #12
After discussing offline, I'm willing to drop the objection to the explanatory
text in sync_ui_util.  I still think the enum values should be better named, and
that BuildSyncSummaryText() should perform a straight conversion from enum names
to strings, though.

Powered by Google App Engine
This is Rietveld 408576698