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

Issue 2507053005: Revert of Add Store+Sync to reading list. (Closed)

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

Description

Revert of Add Store+Sync to reading list. (patchset #20 id:380001 of https://codereview.chromium.org/2451843002/ ) Reason for revert: Failing compile on ios-simulator-xcode-clang: reading_list_store_unittest.cc:75:12: error: no viable conversion from returned value of type 'unique_ptr<TestModelTypeChangeProcessor>' to function return type 'unique_ptr<syncer::ModelTypeChangeProcessor>' return processor; ^~~~~~~~~ It isn't legal to return a unique_ptr<B> from a function that returns unique_ptr<A> even if A is a base class. You need to explicitly declare |processor| to have type unique_ptr<syncer::ModelTypeChangeProcessor>. I'm not sure why this wasn't picked up by the try bots. Original issue's description: > Add Store+Sync to reading list. > > This CL creates a ModelTypeService for reading list. > This service will store persistent data for the Reading list model and sync > data between devices. > > The previous store using NSUserDefaults will not be cleaned. > As it was only accessible from canary behind an experimental flag, no user > should be affected. > > BUG=661668 > > Committed: https://crrev.com/faa080c524c6a80c2ac276359e29dec8cf7946c4 > Cr-Commit-Position: refs/heads/master@{#432845} TBR=pavely@chromium.org,skym@chromium.org,jif@chromium.org,olivierrobin@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=661668 Committed: https://chromium.googlesource.com/chromium/src/+/49740e42977be69ae7c1af0f01df1758957c539b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+468 lines, -2220 lines) Patch
M components/browser_sync/profile_sync_components_factory_impl.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M components/sync/protocol/reading_list_specifics.proto View 1 chunk +1 line, -3 lines 0 comments Download
M ios/chrome/browser/reading_list/BUILD.gn View 3 chunks +3 lines, -10 lines 0 comments Download
D ios/chrome/browser/reading_list/proto/BUILD.gn View 1 chunk +0 lines, -14 lines 0 comments Download
D ios/chrome/browser/reading_list/proto/reading_list.proto View 1 chunk +0 lines, -45 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_entry.h View 3 chunks +0 lines, -66 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_entry.cc View 5 chunks +3 lines, -244 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_entry_unittest.cc View 3 chunks +1 line, -144 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model.h View 5 chunks +3 lines, -27 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model.cc View 3 chunks +6 lines, -35 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_bridge_observer.h View 2 chunks +2 lines, -4 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_bridge_observer.mm View 1 chunk +4 lines, -6 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_factory.h View 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_factory.cc View 3 chunks +3 lines, -25 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_impl.h View 3 chunks +9 lines, -62 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_impl.cc View 9 chunks +145 lines, -330 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_observer.h View 1 chunk +3 lines, -4 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_storage.h View 1 chunk +6 lines, -34 lines 0 comments Download
A ios/chrome/browser/reading_list/reading_list_model_storage_defaults.h View 1 chunk +38 lines, -0 lines 0 comments Download
A ios/chrome/browser/reading_list/reading_list_model_storage_defaults.mm View 1 chunk +139 lines, -0 lines 0 comments Download
A ios/chrome/browser/reading_list/reading_list_model_storage_unittest.mm View 1 chunk +93 lines, -0 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_unittest.cc View 10 chunks +8 lines, -226 lines 0 comments Download
D ios/chrome/browser/reading_list/reading_list_store.h View 1 chunk +0 lines, -138 lines 0 comments Download
D ios/chrome/browser/reading_list/reading_list_store.cc View 1 chunk +0 lines, -461 lines 0 comments Download
D ios/chrome/browser/reading_list/reading_list_store_delegate.h View 1 chunk +0 lines, -34 lines 0 comments Download
D ios/chrome/browser/reading_list/reading_list_store_unittest.cc View 1 chunk +0 lines, -287 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_web_state_observer.mm View 1 chunk +1 line, -2 lines 0 comments Download
M ios/chrome/browser/sync/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/browser/sync/ios_chrome_sync_client.mm View 2 chunks +0 lines, -9 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Matt Giuca
Created Revert of Add Store+Sync to reading list.
4 years, 1 month ago (2016-11-18 01:05:47 UTC) #2
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/2507053005/1
4 years, 1 month ago (2016-11-18 01:07:14 UTC) #3
commit-bot: I haz the power
Failed to apply the patch.
4 years, 1 month ago (2016-11-18 01:08:14 UTC) #5
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/49740e42977be69ae7c1af0f01df1758957c539b Cr-Commit-Position: refs/heads/master@{#433019}
4 years, 1 month ago (2016-11-18 02:01:04 UTC) #7
Matt Giuca
Committed patchset #1 (id:1) manually as 49740e42977be69ae7c1af0f01df1758957c539b (presubmit successful).
4 years, 1 month ago (2016-11-18 02:02:56 UTC) #9
Olivier
4 years, 1 month ago (2016-11-18 08:15:13 UTC) #10
Message was sent while issue was closed.
LGTM.

Powered by Google App Engine
This is Rietveld 408576698