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

Issue 8341043: Extension settings API: send ACTION_UPDATE rather than ACTION_ADD when a (Closed)

Created:
9 years, 1 month ago by not at google - send to devlin
Modified:
9 years, 1 month ago
Reviewers:
akalin
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, mihaip+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Extension settings API: send ACTION_UPDATE rather than ACTION_ADD when a setting that was already in sync (from MergeDataAndStartSyncing) is changed. BUG=101635 TEST=ExtensionSettingsSyncTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107524

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -2 lines) Patch
M chrome/browser/extensions/extension_settings_sync_unittest.cc View 1 chunk +13 lines, -1 line 0 comments Download
M chrome/browser/extensions/syncable_extension_settings_storage.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
not at google - send to devlin
9 years, 1 month ago (2011-10-26 03:27:28 UTC) #1
akalin
LGTM http://codereview.chromium.org/8341043/diff/1001/chrome/browser/extensions/syncable_extension_settings_storage.cc File chrome/browser/extensions/syncable_extension_settings_storage.cc (right): http://codereview.chromium.org/8341043/diff/1001/chrome/browser/extensions/syncable_extension_settings_storage.cc#newcode177 chrome/browser/extensions/syncable_extension_settings_storage.cc:177: if (!sync_value->Equals(local_value)) { backwards test is confusing, can ...
9 years, 1 month ago (2011-10-26 18:58:34 UTC) #2
not at google - send to devlin
http://codereview.chromium.org/8341043/diff/1001/chrome/browser/extensions/syncable_extension_settings_storage.cc File chrome/browser/extensions/syncable_extension_settings_storage.cc (right): http://codereview.chromium.org/8341043/diff/1001/chrome/browser/extensions/syncable_extension_settings_storage.cc#newcode177 chrome/browser/extensions/syncable_extension_settings_storage.cc:177: if (!sync_value->Equals(local_value)) { On 2011/10/26 18:58:34, akalin wrote: > ...
9 years, 1 month ago (2011-10-27 01:54:39 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/8341043/4001
9 years, 1 month ago (2011-10-27 01:54:50 UTC) #4
commit-bot: I haz the power
9 years, 1 month ago (2011-10-27 03:13:01 UTC) #5
Change committed as 107524

Powered by Google App Engine
This is Rietveld 408576698