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

Issue 7564037: Apps/Extensions Sync refactoring -- delete most of the old glue, implement new sync API. (Closed)

Created:
9 years, 4 months ago by Ben Olmstead
Modified:
9 years, 4 months ago
CC:
chromium-reviews, ncarter (slow), idana, Raghu Simha, Erik does not do reviews, mihaip+watch_chromium.org, Aaron Boodman, Paweł Hajdan Jr., tim (not reviewing)
Visibility:
Public.

Description

Apps/Extensions Sync refactoring -- delete most of the old glue, implement new sync API. This should maintain current behavior; there are still a number of edge cases around sync + network issues/changing extension versions/etc. that are not fixed by this change. Reviewers: akalin: everything asargent: sanity check around ExtensionService/Extension/ExtensionSyncData BUG=83983 TEST=sync tests pass, browser tests pass, manually adding/removing extensions/apps works. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97482 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97829

Patch Set 1 : . #

Total comments: 32

Patch Set 2 : Changes for Review Comments #

Total comments: 16

Patch Set 3 : Final patch with final suggestions incorporated #

Patch Set 4 : Fix Release build warning :-/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+953 lines, -1984 lines) Patch
M chrome/browser/extensions/extension_service.h View 1 2 7 chunks +59 lines, -43 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 12 chunks +248 lines, -46 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 10 chunks +204 lines, -113 lines 0 comments Download
M chrome/browser/extensions/extension_sync_data.h View 1 2 1 chunk +41 lines, -14 lines 0 comments Download
M chrome/browser/extensions/extension_sync_data.cc View 1 2 3 1 chunk +109 lines, -13 lines 0 comments Download
M chrome/browser/extensions/extension_sync_data_unittest.cc View 1 chunk +68 lines, -63 lines 0 comments Download
M chrome/browser/extensions/test_extension_service.h View 1 chunk +10 lines, -8 lines 0 comments Download
M chrome/browser/extensions/test_extension_service.cc View 1 chunk +16 lines, -10 lines 0 comments Download
D chrome/browser/sync/glue/app_change_processor.h View 1 2 1 chunk +0 lines, -68 lines 0 comments Download
D chrome/browser/sync/glue/app_change_processor.cc View 1 2 1 chunk +0 lines, -190 lines 0 comments Download
D chrome/browser/sync/glue/app_model_associator.h View 1 chunk +0 lines, -50 lines 0 comments Download
D chrome/browser/sync/glue/app_model_associator.cc View 1 2 1 chunk +0 lines, -77 lines 0 comments Download
D chrome/browser/sync/glue/extension_change_processor.h View 1 2 1 chunk +0 lines, -68 lines 0 comments Download
D chrome/browser/sync/glue/extension_change_processor.cc View 1 2 1 chunk +0 lines, -190 lines 0 comments Download
D chrome/browser/sync/glue/extension_model_associator.h View 1 chunk +0 lines, -51 lines 0 comments Download
D chrome/browser/sync/glue/extension_model_associator.cc View 1 2 1 chunk +0 lines, -77 lines 0 comments Download
D chrome/browser/sync/glue/extension_sync.h View 1 chunk +0 lines, -82 lines 0 comments Download
D chrome/browser/sync/glue/extension_sync.cc View 1 2 1 chunk +0 lines, -221 lines 0 comments Download
D chrome/browser/sync/glue/extension_sync_traits.h View 1 chunk +0 lines, -83 lines 0 comments Download
D chrome/browser/sync/glue/extension_sync_traits.cc View 1 2 1 chunk +0 lines, -135 lines 0 comments Download
D chrome/browser/sync/glue/extension_util.h View 1 chunk +0 lines, -43 lines 0 comments Download
D chrome/browser/sync/glue/extension_util.cc View 1 chunk +0 lines, -102 lines 0 comments Download
D chrome/browser/sync/glue/extension_util_unittest.cc View 1 chunk +0 lines, -197 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_impl.cc View 1 2 6 chunks +17 lines, -24 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 2 chunks +0 lines, -14 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/extensions/extension.h View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 2 chunks +47 lines, -1 line 0 comments Download
M chrome/common/extensions/extension_unittest.cc View 1 1 chunk +125 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Ben Olmstead
9 years, 4 months ago (2011-08-12 01:31:11 UTC) #1
akalin
This is awesome! A bunch of initial comments. Also please run through the linux_sync,mac_sync,win_sync trybots. ...
9 years, 4 months ago (2011-08-12 03:35:01 UTC) #2
asargent_no_longer_on_chrome
Seems great overall, with a few nits and a couple of questions for you. http://codereview.chromium.org/7564037/diff/11001/chrome/browser/extensions/extension_service.cc ...
9 years, 4 months ago (2011-08-12 20:50:39 UTC) #3
Ben Olmstead
Updated per review comments. Try jobs for the current patch are running now. http://codereview.chromium.org/7564037/diff/11001/chrome/browser/extensions/extension_service.cc File ...
9 years, 4 months ago (2011-08-15 20:20:12 UTC) #4
asargent_no_longer_on_chrome
LGTM w/ 1 nit http://codereview.chromium.org/7564037/diff/11001/chrome/browser/extensions/extension_service.h File chrome/browser/extensions/extension_service.h (right): http://codereview.chromium.org/7564037/diff/11001/chrome/browser/extensions/extension_service.h#newcode797 chrome/browser/extensions/extension_service.h:797: SyncBundle extension_sync_bundle_; On 2011/08/15 20:20:12, ...
9 years, 4 months ago (2011-08-15 23:34:29 UTC) #5
akalin
LGTM all comments are suggestions http://codereview.chromium.org/7564037/diff/19002/chrome/browser/extensions/extension_service.cc File chrome/browser/extensions/extension_service.cc (right): http://codereview.chromium.org/7564037/diff/19002/chrome/browser/extensions/extension_service.cc#newcode920 chrome/browser/extensions/extension_service.cc:920: SyncChangeList sync_change_list(1); you can ...
9 years, 4 months ago (2011-08-17 17:44:24 UTC) #6
commit-bot: I haz the power
9 years, 4 months ago (2011-08-23 07:17:36 UTC) #7
Change committed as 97829

Powered by Google App Engine
This is Rietveld 408576698