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

Issue 2106663004: arc: Initial implemetation of Chrome sync for Arc packages. (Closed)

Created:
4 years, 5 months ago by lgcheng
Modified:
4 years, 4 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, tapted, yusukes+watch_chromium.org, tfarina, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, sync-reviews_chromium.org, Matt Giuca
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

arc: Initial implemetation of Chrome sync for Arc packages. Sync protos is introduced in: https://codereview.chromium.org/2092893002/. BUG=631253 TEST=Dependent Patchset: https://codereview.chromium.org/2174753004/ Committed: https://crrev.com/68bc3e7017f97a20f7deaf3ae5601f2f68c62e16 Cr-Commit-Position: refs/heads/master@{#409437}

Patch Set 1 #

Patch Set 2 #

Patch Set 3 #

Total comments: 36

Patch Set 4 : Address Steven's comment. Run git cl format. #

Patch Set 5 : Refactor for integration test. #

Patch Set 6 : Rebase. More refactor. Fix unit_test related to refactor. #

Total comments: 21

Patch Set 7 : Address Luis's comment #

Patch Set 8 : Address offline discussion #

Patch Set 9 : Wrap bridge state related method in unit_tests. #

Total comments: 22

Patch Set 10 : Issue Fixed. #

Total comments: 6

Patch Set 11 : Nits #

Patch Set 12 #

Patch Set 13 : Rebase #

Patch Set 14 : Rebase #

Patch Set 15 : Modify target #

Unified diffs Side-by-side diffs Delta from patch set Stats (+783 lines, -98 lines) Patch
M chrome/browser/sync/chrome_sync_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/sync/profile_sync_service_factory_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_list_prefs.h View 1 2 3 4 5 6 7 8 9 8 chunks +27 lines, -10 lines 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 10 chunks +47 lines, -43 lines 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_list_prefs_factory.cc View 1 2 3 4 5 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_test.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +10 lines, -4 lines 0 comments Download
M chrome/browser/ui/app_list/arc/arc_app_unittest.cc View 1 2 3 4 5 6 7 8 9 10 24 chunks +8 lines, -36 lines 0 comments Download
A chrome/browser/ui/app_list/arc/arc_package_syncable_service.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +135 lines, -0 lines 0 comments Download
A chrome/browser/ui/app_list/arc/arc_package_syncable_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +430 lines, -0 lines 0 comments Download
A chrome/browser/ui/app_list/arc/arc_package_syncable_service_factory.h View 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/browser/ui/app_list/arc/arc_package_syncable_service_factory.cc View 1 2 3 4 5 6 7 8 9 1 chunk +57 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +3 lines, -4 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 55 (35 generated)
lgcheng
Hi Steven, PTAL at this patch. I am implementing Chrome sync for Arc packages. The ...
4 years, 5 months ago (2016-06-29 22:09:49 UTC) #13
stevenjb
It might be a day or two before I can look at this since I'm ...
4 years, 5 months ago (2016-06-29 22:18:31 UTC) #14
stevenjb
Looking now. You will also want to add zea@ or another c/b/sync owner.
4 years, 5 months ago (2016-06-30 00:23:43 UTC) #15
lgcheng
On 2016/06/30 00:23:43, stevenjb wrote: > Looking now. You will also want to add zea@ ...
4 years, 5 months ago (2016-06-30 01:13:43 UTC) #17
stevenjb
We definitely need tests with this also. https://codereview.chromium.org/2106663004/diff/160001/chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc File chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc (right): https://codereview.chromium.org/2106663004/diff/160001/chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc#newcode222 chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc:222: : prefs_(prefs), ...
4 years, 5 months ago (2016-06-30 01:27:44 UTC) #18
lgcheng
Thanks for comments! Yes we definitely need pass manual test and add add integration test ...
4 years, 5 months ago (2016-06-30 02:20:40 UTC) #19
pavely
chrome/browser/sync lgtm
4 years, 5 months ago (2016-06-30 21:03:22 UTC) #20
stevenjb
OK, this code looks fine, but we definitely need to add tests (single_client_arc_package_sync_test and two_client_arc_package_sync_test) ...
4 years, 5 months ago (2016-07-07 23:10:38 UTC) #21
lgcheng
On 2016/07/07 23:10:38, stevenjb wrote: > OK, this code looks fine, but we definitely need ...
4 years, 5 months ago (2016-07-07 23:15:50 UTC) #22
Luis Héctor Chávez
first round https://codereview.chromium.org/2106663004/diff/220001/chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc File chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc (right): https://codereview.chromium.org/2106663004/diff/220001/chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc#newcode246 chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc:246: arc::ArcBridgeService* bridge_service = arc::ArcBridgeService::Get(); Unneeded. https://codereview.chromium.org/2106663004/diff/220001/chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc#newcode250 chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc:250: ...
4 years, 5 months ago (2016-07-20 00:01:15 UTC) #24
lgcheng
Thank Luis for review. I was not even expecting a detailed review at this time. ...
4 years, 5 months ago (2016-07-20 01:23:59 UTC) #27
lgcheng
Hi Guys, Integration test is created. PTAL.
4 years, 5 months ago (2016-07-22 20:28:32 UTC) #28
stevenjb
Thanks for adding the tests in 2174753004. lgtm. https://codereview.chromium.org/2106663004/diff/300001/chrome/browser/ui/app_list/arc/arc_package_syncable_service_factory.cc File chrome/browser/ui/app_list/arc/arc_package_syncable_service_factory.cc (right): https://codereview.chromium.org/2106663004/diff/300001/chrome/browser/ui/app_list/arc/arc_package_syncable_service_factory.cc#newcode44 chrome/browser/ui/app_list/arc/arc_package_syncable_service_factory.cc:44: ArcAppListPrefs* ...
4 years, 4 months ago (2016-07-25 16:48:10 UTC) #31
Luis Héctor Chávez
https://codereview.chromium.org/2106663004/diff/300001/chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc File chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc (right): https://codereview.chromium.org/2106663004/diff/300001/chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc#newcode22 chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc:22: #include "components/arc/arc_bridge_service.h" You should be able to remove this ...
4 years, 4 months ago (2016-07-25 17:31:17 UTC) #32
lgcheng
Issue fixed. PTAL https://codereview.chromium.org/2106663004/diff/300001/chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc File chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc (right): https://codereview.chromium.org/2106663004/diff/300001/chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc#newcode22 chrome/browser/ui/app_list/arc/arc_app_list_prefs.cc:22: #include "components/arc/arc_bridge_service.h" On 2016/07/25 17:31:17, Luis ...
4 years, 4 months ago (2016-07-25 20:45:17 UTC) #33
Luis Héctor Chávez
lgtm with nits. Thanks! https://codereview.chromium.org/2106663004/diff/320001/chrome/browser/ui/app_list/arc/arc_app_test.cc File chrome/browser/ui/app_list/arc/arc_app_test.cc (right): https://codereview.chromium.org/2106663004/diff/320001/chrome/browser/ui/app_list/arc/arc_app_test.cc#newcode132 chrome/browser/ui/app_list/arc/arc_app_test.cc:132: void ArcAppTest::SetBridgeServiceStopped() { nit: rename ...
4 years, 4 months ago (2016-07-25 20:50:55 UTC) #34
lgcheng
Thank you guys for review this patch! Will submit after sync integration test passed review. ...
4 years, 4 months ago (2016-07-25 21:10:11 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2106663004/420001
4 years, 4 months ago (2016-08-03 02:29:29 UTC) #51
commit-bot: I haz the power
Committed patchset #15 (id:420001)
4 years, 4 months ago (2016-08-03 02:33:05 UTC) #53
commit-bot: I haz the power
4 years, 4 months ago (2016-08-03 02:34:27 UTC) #55
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/68bc3e7017f97a20f7deaf3ae5601f2f68c62e16
Cr-Commit-Position: refs/heads/master@{#409437}

Powered by Google App Engine
This is Rietveld 408576698