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

Issue 229233003: Fix AppListSyncableService::ModelObserver actions (Closed)

Created:
6 years, 8 months ago by stevenjb
Modified:
6 years, 8 months ago
Reviewers:
xiyuan, jennyz
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Visibility:
Public.

Description

Fix AppListSyncableService::ModelObserver actions This addresses two bugs: * Updates from the Model should be ignored while an item is being added. * Folder deletions from the Model should be ignored since the model may not contain items that are not installed on the device, and we check for empty folders on item removal already. BUG=361671, 361721 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262890

Patch Set 1 #

Patch Set 2 : . #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -19 lines) Patch
M chrome/browser/ui/app_list/app_list_syncable_service.cc View 1 14 chunks +38 lines, -19 lines 5 comments Download

Messages

Total messages: 13 (0 generated)
stevenjb
6 years, 8 months ago (2014-04-09 20:58:05 UTC) #1
jennyz
https://codereview.chromium.org/229233003/diff/20001/chrome/browser/ui/app_list/app_list_syncable_service.cc File chrome/browser/ui/app_list/app_list_syncable_service.cc (right): https://codereview.chromium.org/229233003/diff/20001/chrome/browser/ui/app_list/app_list_syncable_service.cc#newcode175 chrome/browser/ui/app_list/app_list_syncable_service.cc:175: return; What if the update is not triggered by ...
6 years, 8 months ago (2014-04-09 21:31:07 UTC) #2
stevenjb
https://codereview.chromium.org/229233003/diff/20001/chrome/browser/ui/app_list/app_list_syncable_service.cc File chrome/browser/ui/app_list/app_list_syncable_service.cc (right): https://codereview.chromium.org/229233003/diff/20001/chrome/browser/ui/app_list/app_list_syncable_service.cc#newcode175 chrome/browser/ui/app_list/app_list_syncable_service.cc:175: return; On 2014/04/09 21:31:08, jennyz wrote: > What if ...
6 years, 8 months ago (2014-04-09 21:48:15 UTC) #3
jennyz
https://codereview.chromium.org/229233003/diff/20001/chrome/browser/ui/app_list/app_list_syncable_service.cc File chrome/browser/ui/app_list/app_list_syncable_service.cc (right): https://codereview.chromium.org/229233003/diff/20001/chrome/browser/ui/app_list/app_list_syncable_service.cc#newcode166 chrome/browser/ui/app_list/app_list_syncable_service.cc:166: return; When users logs out and in again, the ...
6 years, 8 months ago (2014-04-09 22:00:32 UTC) #4
stevenjb
https://codereview.chromium.org/229233003/diff/20001/chrome/browser/ui/app_list/app_list_syncable_service.cc File chrome/browser/ui/app_list/app_list_syncable_service.cc (right): https://codereview.chromium.org/229233003/diff/20001/chrome/browser/ui/app_list/app_list_syncable_service.cc#newcode166 chrome/browser/ui/app_list/app_list_syncable_service.cc:166: return; On 2014/04/09 22:00:32, jennyz wrote: > When users ...
6 years, 8 months ago (2014-04-09 22:17:16 UTC) #5
jennyz
On 2014/04/09 22:17:16, stevenjb wrote: > https://codereview.chromium.org/229233003/diff/20001/chrome/browser/ui/app_list/app_list_syncable_service.cc > File chrome/browser/ui/app_list/app_list_syncable_service.cc (right): > > https://codereview.chromium.org/229233003/diff/20001/chrome/browser/ui/app_list/app_list_syncable_service.cc#newcode166 > ...
6 years, 8 months ago (2014-04-09 22:34:17 UTC) #6
stevenjb
On 2014/04/09 22:34:17, jennyz wrote: > On 2014/04/09 22:17:16, stevenjb wrote: > > > https://codereview.chromium.org/229233003/diff/20001/chrome/browser/ui/app_list/app_list_syncable_service.cc ...
6 years, 8 months ago (2014-04-09 22:42:05 UTC) #7
jennyz
lgtm
6 years, 8 months ago (2014-04-09 22:44:34 UTC) #8
stevenjb
The other way to repro this is to uninstall an app from a folder with ...
6 years, 8 months ago (2014-04-09 22:44:48 UTC) #9
xiyuan
lgtm
6 years, 8 months ago (2014-04-09 22:49:42 UTC) #10
stevenjb
The CQ bit was checked by stevenjb@chromium.org
6 years, 8 months ago (2014-04-09 22:50:10 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/229233003/20001
6 years, 8 months ago (2014-04-09 22:51:02 UTC) #12
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 01:26:03 UTC) #13
Message was sent while issue was closed.
Change committed as 262890

Powered by Google App Engine
This is Rietveld 408576698