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

Issue 2511723002: Enable RL sync by default on iOS (Closed)

Created:
4 years, 1 month ago by Olivier
Modified:
4 years ago
Reviewers:
jif, sdefresne, pavely
CC:
chromium-reviews, sync-reviews_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable RL sync by default BUG= Committed: https://crrev.com/0c6cd0ca95b91d4b76fae8fc27a39f404fd756aa Cr-Commit-Position: refs/heads/master@{#434402}

Patch Set 1 #

Patch Set 2 : only on iOS #

Patch Set 3 : add guard #

Total comments: 6

Patch Set 4 : NOTREACHED #

Patch Set 5 : reading list component #

Patch Set 6 : add reading_list:switches target #

Patch Set 7 : remove ios/web #

Patch Set 8 : clean DEPS #

Patch Set 9 : objectivec #

Patch Set 10 : RL sync is only enabled by experimental flags #

Patch Set 11 : create ios and core directories #

Total comments: 2

Patch Set 12 : narrow deps #

Patch Set 13 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -4075 lines) Patch
M chrome/browser/sync/chrome_sync_client.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M components/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M components/browser_sync/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M components/browser_sync/DEPS View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M components/browser_sync/profile_sync_components_factory_impl.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -3 lines 0 comments Download
M components/reading_list/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -62 lines 0 comments Download
M components/reading_list/DEPS View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
A + components/reading_list/core/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -5 lines 0 comments Download
A + components/reading_list/core/reading_list_switches.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
A + components/reading_list/core/reading_list_switches.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -1 line 0 comments Download
A + components/reading_list/ios/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 3 chunks +7 lines, -13 lines 0 comments Download
A + components/reading_list/ios/offline_url_utils.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
A + components/reading_list/ios/offline_url_utils.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
A + components/reading_list/ios/offline_url_utils_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
A + components/reading_list/ios/proto/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/reading_list/ios/proto/reading_list.proto View 1 2 3 4 5 6 7 8 9 10 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/reading_list/ios/reading_list_entry.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
A + components/reading_list/ios/reading_list_entry.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -3 lines 0 comments Download
A + components/reading_list/ios/reading_list_entry_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
A + components/reading_list/ios/reading_list_model.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +5 lines, -5 lines 0 comments Download
A + components/reading_list/ios/reading_list_model.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
A + components/reading_list/ios/reading_list_model_bridge_observer.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -4 lines 0 comments Download
A + components/reading_list/ios/reading_list_model_bridge_observer.mm View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -3 lines 0 comments Download
A + components/reading_list/ios/reading_list_model_impl.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -7 lines 0 comments Download
A + components/reading_list/ios/reading_list_model_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -3 lines 0 comments Download
A + components/reading_list/ios/reading_list_model_observer.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -5 lines 0 comments Download
A + components/reading_list/ios/reading_list_model_storage.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -4 lines 0 comments Download
A + components/reading_list/ios/reading_list_model_unittest.mm View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -2 lines 0 comments Download
A + components/reading_list/ios/reading_list_pref_names.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
A + components/reading_list/ios/reading_list_pref_names.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
A + components/reading_list/ios/reading_list_store.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -5 lines 0 comments Download
A + components/reading_list/ios/reading_list_store.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -3 lines 0 comments Download
A + components/reading_list/ios/reading_list_store_delegate.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -3 lines 0 comments Download
A + components/reading_list/ios/reading_list_store_unittest.mm View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -2 lines 0 comments Download
D components/reading_list/offline_url_utils.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -46 lines 0 comments Download
D components/reading_list/offline_url_utils.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -41 lines 0 comments Download
D components/reading_list/offline_url_utils_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -57 lines 0 comments Download
D components/reading_list/proto/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -14 lines 0 comments Download
D components/reading_list/proto/reading_list.proto View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -45 lines 0 comments Download
D components/reading_list/reading_list_entry.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -140 lines 0 comments Download
D components/reading_list/reading_list_entry.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -370 lines 0 comments Download
D components/reading_list/reading_list_entry_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -327 lines 0 comments Download
D components/reading_list/reading_list_model.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -156 lines 0 comments Download
D components/reading_list/reading_list_model.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -81 lines 0 comments Download
D components/reading_list/reading_list_model_bridge_observer.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -87 lines 0 comments Download
D components/reading_list/reading_list_model_bridge_observer.mm View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -122 lines 0 comments Download
D components/reading_list/reading_list_model_impl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -139 lines 0 comments Download
D components/reading_list/reading_list_model_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -516 lines 0 comments Download
D components/reading_list/reading_list_model_observer.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -79 lines 0 comments Download
D components/reading_list/reading_list_model_storage.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -55 lines 0 comments Download
D components/reading_list/reading_list_model_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -619 lines 0 comments Download
D components/reading_list/reading_list_pref_names.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -18 lines 0 comments Download
D components/reading_list/reading_list_pref_names.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -15 lines 0 comments Download
D components/reading_list/reading_list_store.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -138 lines 0 comments Download
D components/reading_list/reading_list_store.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -460 lines 0 comments Download
D components/reading_list/reading_list_store_delegate.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -34 lines 0 comments Download
D components/reading_list/reading_list_store_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -287 lines 0 comments Download
D components/reading_list/reading_list_switches.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -18 lines 0 comments Download
M components/reading_list/reading_list_switches.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -24 lines 0 comments Download
M ios/chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
M ios/chrome/browser/about_flags.mm View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/experimental_flags.mm View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -2 lines 0 comments Download
M ios/chrome/browser/reading_list/offline_url_utils.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_download_service.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_download_service.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_entry.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_bridge_observer.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_factory.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -4 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_impl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_observer.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_storage.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_pref_names.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_store.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_store_delegate.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_web_state_observer.mm View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/url_downloader.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/url_downloader_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/share_extension/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/share_extension/share_extension_item_receiver.mm View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/share_extension/share_extension_service.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/share_extension/share_extension_service.mm View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/sync/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -1 line 0 comments Download
M ios/chrome/browser/sync/ios_chrome_sync_client.mm View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 83 (54 generated)
Olivier
Hi I try to enable the sync on iOS. As the other platforms don't have ...
4 years, 1 month ago (2016-11-17 12:57:36 UTC) #5
pavely
https://codereview.chromium.org/2511723002/diff/40001/chrome/browser/sync/chrome_sync_client.cc File chrome/browser/sync/chrome_sync_client.cc (right): https://codereview.chromium.org/2511723002/diff/40001/chrome/browser/sync/chrome_sync_client.cc#newcode439 chrome/browser/sync/chrome_sync_client.cc:439: case syncer::READING_LIST: You can add NOTREACHED() as well as ...
4 years, 1 month ago (2016-11-20 02:31:58 UTC) #8
Olivier
https://codereview.chromium.org/2511723002/diff/40001/chrome/browser/sync/chrome_sync_client.cc File chrome/browser/sync/chrome_sync_client.cc (right): https://codereview.chromium.org/2511723002/diff/40001/chrome/browser/sync/chrome_sync_client.cc#newcode439 chrome/browser/sync/chrome_sync_client.cc:439: case syncer::READING_LIST: On 2016/11/20 02:31:58, pavely wrote: > You ...
4 years, 1 month ago (2016-11-20 10:32:33 UTC) #10
Olivier
Hi Pavely, I now use the new Reading list component introduced in https://codereview.chromium.org/2514333003/ PTAL
4 years, 1 month ago (2016-11-21 15:47:22 UTC) #11
pavely
lgtm
4 years, 1 month ago (2016-11-22 00:33:43 UTC) #12
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/2511723002/80001
4 years ago (2016-11-23 08:31:53 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/73390) blimp_linux_dbg on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years ago (2016-11-23 08:35:01 UTC) #16
Olivier
Hi sdefresne, I had a deps issue (other platform must not depends on components/reading_list) so ...
4 years ago (2016-11-23 09:06:38 UTC) #17
Olivier
It seems that other platforms still try to depend on ios/web, but there is no ...
4 years ago (2016-11-23 09:15:27 UTC) #22
Olivier
ios/web is actually not needed. So removing it may solve the issue. But the analyse ...
4 years ago (2016-11-23 09:23:00 UTC) #25
sdefresne
On 2016/11/23 09:23:00, Olivier Robin wrote: > ios/web is actually not needed. So removing it ...
4 years ago (2016-11-23 10:34:01 UTC) #38
jif
lgtm, but of course fix what sylvain talked about.
4 years ago (2016-11-23 13:19:01 UTC) #41
Olivier
I created two subdirectories. This CL is still downstream compatible. Sorry for the size inflation.
4 years ago (2016-11-23 14:31:37 UTC) #44
sdefresne
lgtm https://codereview.chromium.org/2511723002/diff/200001/components/browser_sync/DEPS File components/browser_sync/DEPS (right): https://codereview.chromium.org/2511723002/diff/200001/components/browser_sync/DEPS#newcode14 components/browser_sync/DEPS:14: "+components/reading_list", Please use "+components/reading_list/core",
4 years ago (2016-11-24 17:35:21 UTC) #51
Olivier
Thanks all for the reviews! https://codereview.chromium.org/2511723002/diff/200001/components/browser_sync/DEPS File components/browser_sync/DEPS (right): https://codereview.chromium.org/2511723002/diff/200001/components/browser_sync/DEPS#newcode14 components/browser_sync/DEPS:14: "+components/reading_list", On 2016/11/24 17:35:21, ...
4 years ago (2016-11-24 17:57:31 UTC) #52
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/2511723002/220001
4 years ago (2016-11-24 17:58:27 UTC) #55
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/198387)
4 years ago (2016-11-24 18:25:08 UTC) #57
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/2511723002/220001
4 years ago (2016-11-24 18:29:59 UTC) #59
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/338513)
4 years ago (2016-11-24 19:18:36 UTC) #61
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/2511723002/220001
4 years ago (2016-11-24 19:22:54 UTC) #63
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/312554)
4 years ago (2016-11-24 19:28:58 UTC) #65
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/2511723002/220001
4 years ago (2016-11-24 19:34:02 UTC) #67
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/2511723002/240001
4 years ago (2016-11-24 19:41:25 UTC) #70
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/304352)
4 years ago (2016-11-24 20:30:44 UTC) #72
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/2511723002/240001
4 years ago (2016-11-24 20:31:43 UTC) #74
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_compile_dbg_ng/builds/304365)
4 years ago (2016-11-24 21:42:17 UTC) #76
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/2511723002/240001
4 years ago (2016-11-24 21:44:33 UTC) #78
commit-bot: I haz the power
Committed patchset #13 (id:240001)
4 years ago (2016-11-24 22:41:04 UTC) #81
commit-bot: I haz the power
4 years ago (2016-11-24 22:42:44 UTC) #83
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/0c6cd0ca95b91d4b76fae8fc27a39f404fd756aa
Cr-Commit-Position: refs/heads/master@{#434402}

Powered by Google App Engine
This is Rietveld 408576698