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

Issue 7977018: Enable sync for the settings from the Extension Settings API. (Closed)

Created:
9 years, 3 months ago by akalin
Modified:
9 years, 3 months ago
Reviewers:
kalman_google
CC:
chromium-reviews, ncarter (slow), idana, 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), not at google - send to devlin
Visibility:
Public.

Description

Enable sync for the settings from the Extension Settings API. Original patch by kalman@chromium.org. BUG=94575 TEST=unit tests included TBR=kalman@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102140

Patch Set 1 #

Patch Set 2 : Fix mac compile errors #

Patch Set 3 : Fix race condition in ExtensionSettingsUIWrapper::Core #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1967 lines, -121 lines) Patch
M chrome/browser/extensions/extension_service.h View 5 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 2 chunks +4 lines, -4 lines 0 comments Download
A chrome/browser/extensions/extension_setting_sync_data.h View 1 chunk +77 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_setting_sync_data.cc View 1 chunk +78 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_settings.h View 2 chunks +56 lines, -12 lines 0 comments Download
M chrome/browser/extensions/extension_settings.cc View 2 chunks +229 lines, -40 lines 0 comments Download
M chrome/browser/extensions/extension_settings_api.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_settings_api.cc View 1 chunk +4 lines, -7 lines 0 comments Download
M chrome/browser/extensions/extension_settings_cached_leveldb_storage_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_settings_cached_noop_storage_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_settings_leveldb_storage_unittest.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_settings_storage.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_settings_storage_unittest.h View 3 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_settings_storage_unittest.cc View 2 chunks +13 lines, -12 lines 0 comments Download
A chrome/browser/extensions/extension_settings_sync_unittest.cc View 1 chunk +492 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_settings_sync_util.h View 1 chunk +43 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_settings_sync_util.cc View 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_settings_ui_wrapper.h View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_settings_ui_wrapper.cc View 1 2 1 chunk +65 lines, -0 lines 0 comments Download
A chrome/browser/extensions/syncable_extension_settings_storage.h View 1 chunk +79 lines, -0 lines 0 comments Download
A chrome/browser/extensions/syncable_extension_settings_storage.cc View 1 chunk +341 lines, -0 lines 0 comments Download
M chrome/browser/profiles/profile_impl.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M chrome/browser/sync/glue/data_type_manager_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/sync/glue/extension_setting_data_type_controller.h View 1 chunk +64 lines, -0 lines 0 comments Download
A chrome/browser/sync/glue/extension_setting_data_type_controller.cc View 1 chunk +107 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory.h View 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_impl.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_impl.cc View 6 chunks +27 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_factory_mock.h View 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service.cc View 2 chunks +5 lines, -0 lines 0 comments Download
A chrome/browser/sync/protocol/extension_setting_specifics.proto View 1 chunk +33 lines, -0 lines 0 comments Download
M chrome/browser/sync/protocol/nigori_specifics.proto View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/protocol/proto_value_conversions.h View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/sync/protocol/proto_value_conversions.cc View 4 chunks +12 lines, -0 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/syncable/model_type.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/sync/syncable/model_type.cc View 11 chunks +27 lines, -0 lines 0 comments Download
M chrome/browser/sync/util/cryptographer.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_popup_controller_unittest.mm View 1 4 chunks +0 lines, -5 lines 0 comments Download
M chrome/chrome_browser.gypi View 4 chunks +10 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 2 chunks +7 lines, -6 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/test/base/testing_profile.h View 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/test/base/testing_profile.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M net/tools/testserver/chromiumsync.py View 4 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
akalin
Original code review: http://codereview.chromium.org/7775008/
9 years, 3 months ago (2011-09-21 06:52:23 UTC) #1
akalin
On 2011/09/21 06:52:23, akalin wrote: > Original code review: http://codereview.chromium.org/7775008/ The linux trybot seems to ...
9 years, 3 months ago (2011-09-21 06:58:50 UTC) #2
akalin
On 2011/09/21 06:58:50, akalin wrote: > On 2011/09/21 06:52:23, akalin wrote: > > Original code ...
9 years, 3 months ago (2011-09-21 08:06:56 UTC) #3
kalman_google
Thanks on all counts. On Wed, Sep 21, 2011 at 6:06 PM, <akalin@chromium.org> wrote: > ...
9 years, 3 months ago (2011-09-21 08:08:59 UTC) #4
akalin
9 years, 3 months ago (2011-09-21 11:57:06 UTC) #5
Fix race condition in ExtensionSettingsUIWrapper.

I forgot that it's bad to do anything in the constructor of a ref-counted class
that may change the ref count (since if it hits 0, it gets destroyed before the
constructor finishes, which is bad).

Doing another round of tryjobs.

Powered by Google App Engine
This is Rietveld 408576698