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

Issue 10387144: [Sync] - Implement isolated model association. (Closed)

Created:
8 years, 7 months ago by lipalani1
Modified:
8 years, 7 months ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), akalin, tim (not reviewing)
Visibility:
Public.

Description

Implement isolated model association. if a type takes more than 2 minutes to load we move on to the next type. When the type eventually does load we could be in one of 2 states: 1. Configuring - if we are currently configuring we will associate this type the next chance we get. 2. IDLE - we will initialize a configuration cycle and start associating this type. BUG= TEST= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=138663

Patch Set 1 #

Patch Set 2 : For review. #

Total comments: 20

Patch Set 3 : For review. #

Patch Set 4 : for review. #

Total comments: 12

Patch Set 5 : For review. #

Total comments: 16

Patch Set 6 : #

Patch Set 7 : For review. #

Patch Set 8 : For submitting. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+411 lines, -84 lines) Patch
M chrome/browser/sync/backend_migrator_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc View 1 2 3 4 5 6 3 chunks +1 line, -2 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager.h View 1 2 6 1 chunk +12 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl.h View 1 2 3 4 6 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl.cc View 1 2 3 4 5 6 6 chunks +23 lines, -11 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl_unittest.cc View 1 2 3 4 5 6 2 chunks +47 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/fake_data_type_controller.h View 1 2 3 4 5 6 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/fake_data_type_controller.cc View 1 2 3 4 5 6 3 chunks +20 lines, -5 lines 0 comments Download
M chrome/browser/sync/glue/frontend_data_type_controller_mock.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/glue/model_association_manager.h View 1 2 3 4 5 6 7 chunks +28 lines, -5 lines 0 comments Download
M chrome/browser/sync/glue/model_association_manager.cc View 1 2 3 4 5 6 17 chunks +162 lines, -40 lines 0 comments Download
M chrome/browser/sync/glue/model_association_manager_unittest.cc View 1 2 3 4 5 6 7 9 chunks +90 lines, -10 lines 0 comments Download
M chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc View 1 2 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_startup_unittest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
lipalani1
8 years, 7 months ago (2012-05-16 01:29:15 UTC) #1
lipalani1
Ping!
8 years, 7 months ago (2012-05-18 00:07:13 UTC) #2
tim (not reviewing)
http://codereview.chromium.org/10387144/diff/2001/chrome/browser/sync/glue/data_type_manager.h File chrome/browser/sync/glue/data_type_manager.h (right): http://codereview.chromium.org/10387144/diff/2001/chrome/browser/sync/glue/data_type_manager.h#newcode76 chrome/browser/sync/glue/data_type_manager.h:76: // cycle. Wording is a bit unclear, perhaps "List ...
8 years, 7 months ago (2012-05-21 23:18:57 UTC) #3
lipalani1
please review. http://codereview.chromium.org/10387144/diff/2001/chrome/browser/sync/glue/data_type_manager.h File chrome/browser/sync/glue/data_type_manager.h (right): http://codereview.chromium.org/10387144/diff/2001/chrome/browser/sync/glue/data_type_manager.h#newcode76 chrome/browser/sync/glue/data_type_manager.h:76: // cycle. On 2012/05/21 23:18:57, timsteele wrote: ...
8 years, 7 months ago (2012-05-22 01:23:58 UTC) #4
tim (not reviewing)
http://codereview.chromium.org/10387144/diff/2001/chrome/browser/sync/glue/model_association_manager.cc File chrome/browser/sync/glue/model_association_manager.cc (right): http://codereview.chromium.org/10387144/diff/2001/chrome/browser/sync/glue/model_association_manager.cc#newcode414 chrome/browser/sync/glue/model_association_manager.cc:414: void ModelAssociationManager::ModelLoadTimedOut() { On 2012/05/22 01:23:58, lipalani1 wrote: > ...
8 years, 7 months ago (2012-05-22 16:50:05 UTC) #5
lipalani1
PTAL. http://codereview.chromium.org/10387144/diff/2001/chrome/browser/sync/glue/model_association_manager.cc File chrome/browser/sync/glue/model_association_manager.cc (right): http://codereview.chromium.org/10387144/diff/2001/chrome/browser/sync/glue/model_association_manager.cc#newcode414 chrome/browser/sync/glue/model_association_manager.cc:414: void ModelAssociationManager::ModelLoadTimedOut() { On 2012/05/22 16:50:05, timsteele wrote: ...
8 years, 7 months ago (2012-05-22 20:20:46 UTC) #6
tim (not reviewing)
Few more comments, almost there! http://codereview.chromium.org/10387144/diff/8005/chrome/browser/sync/glue/fake_data_type_controller.h File chrome/browser/sync/glue/fake_data_type_controller.h (right): http://codereview.chromium.org/10387144/diff/8005/chrome/browser/sync/glue/fake_data_type_controller.h#newcode60 chrome/browser/sync/glue/fake_data_type_controller.h:60: virtual void FinishModelLoad(); Call ...
8 years, 7 months ago (2012-05-23 03:18:52 UTC) #7
lipalani1
PTAL. If possible a quick review would be good. I want to check all this ...
8 years, 7 months ago (2012-05-23 17:47:20 UTC) #8
tim (not reviewing)
LGTM!
8 years, 7 months ago (2012-05-23 21:33:27 UTC) #9
lipalani
8 years, 7 months ago (2012-05-23 21:34:57 UTC) #10
woohoo thanks alot!
Should be present in tomorrow's canary!

On Wed, May 23, 2012 at 2:33 PM, <tim@chromium.org> wrote:

> LGTM!
>
>
http://codereview.chromium.**org/10387144/<http://codereview.chromium.org/103...
>

Powered by Google App Engine
This is Rietveld 408576698