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

Issue 3110008: Massive refactoring of extensions sync code (Closed)

Created:
10 years, 4 months ago by akalin
Modified:
9 years, 7 months ago
CC:
chromium-reviews, ncarter (slow), ben+cc_chromium.org, Raghu Simha, Erik does not do reviews, idana, Aaron Boodman, pam+watch_chromium.org, Paweł Hajdan Jr., tim (not reviewing)
Base URL:
76.121.192.83:~/projects/chromium/src
Visibility:
Public.

Description

Massive refactoring of extensions sync code In preparation for apps sync, refactored out all the common extensions sync code into extensions_sync_util.{h,cc} and extension_sync_traits.{h,cc}. BUG=46512 TEST=manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=55994

Patch Set 1 : real patch #

Patch Set 2 : Removed unused function #

Total comments: 11

Patch Set 3 : Addressed nick's comments #

Patch Set 4 : Fixed compile error #

Total comments: 2

Patch Set 5 : Addressed nick's comments #

Patch Set 6 : Addressed nick's comments #

Patch Set 7 : Fixed compile error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+965 lines, -537 lines) Patch
M chrome/browser/extensions/extensions_service.cc View 1 2 3 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/sync/glue/extension_change_processor.h View 1 3 chunks +6 lines, -9 lines 0 comments Download
M chrome/browser/sync/glue/extension_change_processor.cc View 1 2 3 4 5 7 chunks +55 lines, -39 lines 0 comments Download
M chrome/browser/sync/glue/extension_model_associator.h View 2 chunks +1 line, -61 lines 0 comments Download
M chrome/browser/sync/glue/extension_model_associator.cc View 1 2 3 4 5 3 chunks +11 lines, -384 lines 0 comments Download
A chrome/browser/sync/glue/extension_sync.h View 3 4 5 6 1 chunk +86 lines, -0 lines 0 comments Download
A chrome/browser/sync/glue/extension_sync.cc View 3 4 5 1 chunk +495 lines, -0 lines 0 comments Download
A chrome/browser/sync/glue/extension_sync_traits.h View 1 chunk +73 lines, -0 lines 0 comments Download
A chrome/browser/sync/glue/extension_sync_traits.cc View 1 chunk +67 lines, -0 lines 0 comments Download
M chrome/browser/sync/glue/extension_util.h View 1 2 2 chunks +24 lines, -1 line 0 comments Download
M chrome/browser/sync/glue/extension_util.cc View 6 chunks +23 lines, -7 lines 0 comments Download
M chrome/browser/sync/glue/extension_util_unittest.cc View 2 chunks +108 lines, -33 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
chrome/chrome_browser.gypi View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
akalin
+nick for review +asargent for extensions_service.cc changes.
10 years, 4 months ago (2010-08-12 02:16:10 UTC) #1
asargent_no_longer_on_chrome
extensions_service.cc changes lgtm http://codereview.chromium.org/3110008/diff/26001/27001 File chrome/browser/extensions/extensions_service.cc (right): http://codereview.chromium.org/3110008/diff/26001/27001#newcode967 chrome/browser/extensions/extensions_service.cc:967: browser_sync::GetExtensionSyncTraits(); Would it look a little ...
10 years, 4 months ago (2010-08-12 16:21:05 UTC) #2
ncarter (slow)
I'm wondering if you sent me this review because you knew that deep down I'm ...
10 years, 4 months ago (2010-08-12 17:48:24 UTC) #3
asargent_no_longer_on_chrome
http://codereview.chromium.org/3110008/diff/26001/27001 File chrome/browser/extensions/extensions_service.cc (right): http://codereview.chromium.org/3110008/diff/26001/27001#newcode967 chrome/browser/extensions/extensions_service.cc:967: browser_sync::GetExtensionSyncTraits(); > isn't "using namespace;" forbidden by the style ...
10 years, 4 months ago (2010-08-12 18:28:44 UTC) #4
akalin
Addressed all comments. Please take another look! http://codereview.chromium.org/3110008/diff/26001/27001 File chrome/browser/extensions/extensions_service.cc (right): http://codereview.chromium.org/3110008/diff/26001/27001#newcode967 chrome/browser/extensions/extensions_service.cc:967: browser_sync::GetExtensionSyncTraits(); On ...
10 years, 4 months ago (2010-08-12 21:55:47 UTC) #5
ncarter (slow)
Thanks for the changes. LGTM after #include nits. http://codereview.chromium.org/3110008/diff/36002/14008 File chrome/browser/sync/glue/extension_sync.h (right): http://codereview.chromium.org/3110008/diff/36002/14008#newcode13 chrome/browser/sync/glue/extension_sync.h:13: #include ...
10 years, 4 months ago (2010-08-13 00:07:49 UTC) #6
akalin
10 years, 4 months ago (2010-08-13 01:53:26 UTC) #7
On 2010/08/13 00:07:49, ncarter wrote:
> Thanks for the changes.  LGTM after #include nits.
> 
> http://codereview.chromium.org/3110008/diff/36002/14008
> File chrome/browser/sync/glue/extension_sync.h (right):
> 
> http://codereview.chromium.org/3110008/diff/36002/14008#newcode13
> chrome/browser/sync/glue/extension_sync.h:13: #include <set>
> don't need.
> 
> http://codereview.chromium.org/3110008/diff/36002/14008#newcode17
> chrome/browser/sync/glue/extension_sync.h:17: #include
> "chrome/browser/sync/glue/extension_util.h"
> You shouldn't need anything besides extension_data.h, map, and string?

Done, submitting.

Powered by Google App Engine
This is Rietveld 408576698