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

Issue 2568023002: Fix inheritance in Reading List (Closed)

Created:
4 years ago by Olivier
Modified:
4 years ago
Reviewers:
gambard, sdefresne
CC:
chromium-reviews, stkhapugin
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix inheritance in Reading List Make ReadingListModelStorage inherit from syncer::ModelTypeSyncBridge. ReadingList require the storage to implement USS so add a direct inheritance to avoid multiple inheritance. Mark ReadingListStoreDelegate constructor and destructor protected. ReadingListStoreDelegate is an interface, mark constructor and destructor protected. BUG=673169 Committed: https://crrev.com/f1a02a7dc245b360a3f78e19ef4bf06c8097fe67 Cr-Commit-Position: refs/heads/master@{#437850}

Patch Set 1 #

Total comments: 2

Patch Set 2 : adapt TestReadingListStorage #

Patch Set 3 : clean includes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -31 lines) Patch
M components/reading_list/ios/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M components/reading_list/ios/reading_list_model_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M components/reading_list/ios/reading_list_model_storage.h View 1 2 chunks +7 lines, -6 lines 0 comments Download
A components/reading_list/ios/reading_list_model_storage.cc View 1 1 chunk +12 lines, -0 lines 0 comments Download
M components/reading_list/ios/reading_list_model_unittest.mm View 1 2 3 chunks +51 lines, -10 lines 0 comments Download
M components/reading_list/ios/reading_list_store.h View 3 chunks +1 line, -6 lines 0 comments Download
M components/reading_list/ios/reading_list_store.cc View 2 chunks +1 line, -5 lines 0 comments Download
M components/reading_list/ios/reading_list_store_delegate.h View 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
Olivier
4 years ago (2016-12-12 08:33:56 UTC) #3
gambard
lgtm
4 years ago (2016-12-12 08:46:30 UTC) #4
sdefresne
lgtm https://codereview.chromium.org/2568023002/diff/1/components/reading_list/ios/reading_list_model_storage.h File components/reading_list/ios/reading_list_model_storage.h (right): https://codereview.chromium.org/2568023002/diff/1/components/reading_list/ios/reading_list_model_storage.h#newcode31 components/reading_list/ios/reading_list_model_storage.h:31: ~ReadingListModelStorage() override{}; required: no semi-colon after method implementation ...
4 years ago (2016-12-12 09:33:24 UTC) #7
sdefresne
On 2016/12/12 09:33:24, sdefresne wrote: > lgtm > > https://codereview.chromium.org/2568023002/diff/1/components/reading_list/ios/reading_list_model_storage.h > File components/reading_list/ios/reading_list_model_storage.h (right): > ...
4 years ago (2016-12-12 09:34:57 UTC) #8
Olivier
Done https://codereview.chromium.org/2568023002/diff/1/components/reading_list/ios/reading_list_model_storage.h File components/reading_list/ios/reading_list_model_storage.h (right): https://codereview.chromium.org/2568023002/diff/1/components/reading_list/ios/reading_list_model_storage.h#newcode31 components/reading_list/ios/reading_list_model_storage.h:31: ~ReadingListModelStorage() override{}; On 2016/12/12 09:33:24, sdefresne wrote: > ...
4 years ago (2016-12-12 10:20:17 UTC) #13
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/2568023002/40001
4 years ago (2016-12-12 10:24:54 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-12 12:00:10 UTC) #20
commit-bot: I haz the power
4 years ago (2016-12-12 15:11:35 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f1a02a7dc245b360a3f78e19ef4bf06c8097fe67
Cr-Commit-Position: refs/heads/master@{#437850}

Powered by Google App Engine
This is Rietveld 408576698