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

Issue 8375047: Separate the syncing of extension settings and app settings into separate data (Closed)

Created:
9 years, 2 months ago by not at google - send to devlin
Modified:
9 years ago
Reviewers:
Nico, akalin, Matt Perry
CC:
chromium-reviews, ncarter (slow), akalin, Raghu Simha, Erik does not do reviews, mihaip+watch_chromium.org, cbentzel+watch_chromium.org, Aaron Boodman, pam+watch_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org, tim (not reviewing)
Visibility:
Public.

Description

Separate the syncing of extension settings and app settings into separate data types. This adds syncable::APP_SETTINGS on top of the existing syncable::EXTENSION_SETTINGS, and restructures code accordingly to accommodate. This is so they can each be synced independently, and eventually tied to their respective (EXTENSIONS or APPS) sync settings. BUG=98488 TEST=ExtensionSettings* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108055

Patch Set 1 #

Patch Set 2 : . #

Total comments: 3

Patch Set 3 : . #

Total comments: 22

Patch Set 4 : comments #

Patch Set 5 : comments #

Patch Set 6 : . #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+784 lines, -288 lines) Patch
M chrome/browser/extensions/extension_data_deleter.h View 1 2 3 4 5 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_data_deleter.cc View 3 chunks +2 lines, -10 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_settings_api.h View 1 2 3 4 6 chunks +10 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_settings_api.cc View 1 2 3 4 6 chunks +34 lines, -22 lines 0 comments Download
M chrome/browser/extensions/extension_settings_apitest.cc View 3 chunks +21 lines, -15 lines 0 comments Download
M chrome/browser/extensions/extension_settings_backend.h View 1 2 4 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_settings_backend.cc View 1 2 3 4 8 chunks +25 lines, -16 lines 0 comments Download
M chrome/browser/extensions/extension_settings_frontend.h View 1 2 3 2 chunks +18 lines, -9 lines 0 comments Download
M chrome/browser/extensions/extension_settings_frontend.cc View 1 2 3 4 5 chunks +144 lines, -38 lines 0 comments Download
M chrome/browser/extensions/extension_settings_frontend_unittest.cc View 1 2 3 4 5 chunks +25 lines, -37 lines 0 comments Download
M chrome/browser/extensions/extension_settings_observer.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_settings_sync_unittest.cc View 1 2 3 4 17 chunks +145 lines, -69 lines 0 comments Download
A chrome/browser/extensions/extension_settings_test_util.h View 1 2 3 1 chunk +66 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_settings_test_util.cc View 1 2 3 1 chunk +95 lines, -0 lines 0 comments Download
M chrome/browser/extensions/syncable_extension_settings_storage.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/extensions/syncable_extension_settings_storage.cc View 1 2 3 4 8 chunks +18 lines, -6 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/glue/extension_setting_data_type_controller.h View 1 3 chunks +10 lines, -5 lines 0 comments Download
M chrome/browser/sync/glue/extension_setting_data_type_controller.cc View 1 2 3 4 2 chunks +17 lines, -12 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory.h View 2 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_impl.h View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_impl.cc View 1 2 3 4 2 chunks +13 lines, -6 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_mock.h View 1 2 3 4 5 2 chunks +3 lines, -4 lines 0 comments Download
A chrome/browser/sync/protocol/app_setting_specifics.proto View 1 chunk +29 lines, -0 lines 0 comments Download
M chrome/browser/sync/protocol/nigori_specifics.proto View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/sync/protocol/proto_value_conversions.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/sync/protocol/proto_value_conversions.cc View 1 2 3 4 4 chunks +12 lines, -2 lines 0 comments Download
M chrome/browser/sync/protocol/proto_value_conversions_unittest.cc View 4 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/sync/protocol/sync_proto.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/sync_prefs.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/syncable/model_type.h View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/sync/syncable/model_type.cc View 11 chunks +26 lines, -0 lines 1 comment Download
M chrome/browser/sync/util/cryptographer.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_popup_controller_unittest.mm View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M net/tools/testserver/chromiumsync.py View 1 5 chunks +9 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
not at google - send to devlin
Most of the changes here are actually restructuring the extensions stuff so that there are ...
9 years, 2 months ago (2011-10-26 06:38:58 UTC) #1
akalin
Looks pretty good. Mostly some nits. I'm less familiar with the extensions code (aside from ...
9 years, 1 month ago (2011-10-28 06:04:54 UTC) #2
not at google - send to devlin
(+mpcomplete) http://codereview.chromium.org/8375047/diff/5001/chrome/browser/extensions/extension_settings_apitest.cc File chrome/browser/extensions/extension_settings_apitest.cc (right): http://codereview.chromium.org/8375047/diff/5001/chrome/browser/extensions/extension_settings_apitest.cc#newcode60 chrome/browser/extensions/extension_settings_apitest.cc:60: // TODO(kalman): test both EXTENSION_SETTINGS and APP_SETTINGS. On ...
9 years, 1 month ago (2011-10-31 00:02:23 UTC) #3
akalin
LGTM http://codereview.chromium.org/8375047/diff/5001/chrome/browser/extensions/extension_settings_test_util.h File chrome/browser/extensions/extension_settings_test_util.h (right): http://codereview.chromium.org/8375047/diff/5001/chrome/browser/extensions/extension_settings_test_util.h#newcode23 chrome/browser/extensions/extension_settings_test_util.h:23: const std::string& extension_id, ExtensionSettingsFrontend* frontend); On 2011/10/31 00:02:23, ...
9 years, 1 month ago (2011-10-31 20:20:57 UTC) #4
Matt Perry
extensions part lgtm http://codereview.chromium.org/8375047/diff/2001/chrome/browser/extensions/extension_settings_api.cc File chrome/browser/extensions/extension_settings_api.cc (right): http://codereview.chromium.org/8375047/diff/2001/chrome/browser/extensions/extension_settings_api.cc#newcode70 chrome/browser/extensions/extension_settings_api.cc:70: observers->Notify( are we assured that the ...
9 years, 1 month ago (2011-10-31 22:04:07 UTC) #5
akalin
http://codereview.chromium.org/8375047/diff/2001/chrome/browser/extensions/extension_settings_api.cc File chrome/browser/extensions/extension_settings_api.cc (right): http://codereview.chromium.org/8375047/diff/2001/chrome/browser/extensions/extension_settings_api.cc#newcode70 chrome/browser/extensions/extension_settings_api.cc:70: observers->Notify( On 2011/10/31 22:04:07, Matt Perry wrote: > are ...
9 years, 1 month ago (2011-10-31 22:05:56 UTC) #6
not at google - send to devlin
http://codereview.chromium.org/8375047/diff/2001/chrome/browser/extensions/extension_settings_api.cc File chrome/browser/extensions/extension_settings_api.cc (right): http://codereview.chromium.org/8375047/diff/2001/chrome/browser/extensions/extension_settings_api.cc#newcode70 chrome/browser/extensions/extension_settings_api.cc:70: observers->Notify( On 2011/10/31 22:05:56, akalin wrote: > On 2011/10/31 ...
9 years, 1 month ago (2011-11-01 00:40:20 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/8375047/19001
9 years, 1 month ago (2011-11-01 00:40:50 UTC) #8
commit-bot: I haz the power
Change committed as 108055
9 years, 1 month ago (2011-11-01 01:56:48 UTC) #9
Nico
http://codereview.chromium.org/8375047/diff/19001/chrome/browser/sync/syncable/model_type.cc File chrome/browser/sync/syncable/model_type.cc (right): http://codereview.chromium.org/8375047/diff/19001/chrome/browser/sync/syncable/model_type.cc#newcode641 chrome/browser/sync/syncable/model_type.cc:641: *model_type = APP_SETTINGS; This branch is missing a "return ...
9 years ago (2011-11-30 21:04:16 UTC) #10
not at google - send to devlin
LGTM Yeah my mistake. I possibly also missed out on a test somewhere which enumerates ...
9 years ago (2011-11-30 21:13:29 UTC) #11
not at google - send to devlin
9 years ago (2011-11-30 21:18:06 UTC) #12
oops wrong CL... never mind...

Powered by Google App Engine
This is Rietveld 408576698