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

Issue 2763233003: Move ReadingList model to components/reading_list/core (Closed)

Created:
3 years, 9 months ago by Olivier
Modified:
3 years, 9 months ago
Reviewers:
gambard, sdefresne
CC:
chromium-reviews, extensions-reviews_chromium.org, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, chromium-apps-reviews_chromium.org, marq+watch_chromium.org, stkhapugin, sync-reviews_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move ReadingList model to components/reading_list/core - Needed to rename ERROR enums to DISTILLATION_ERROR as ERROR is defined on Windows. - Needed to fix FILE_PATH_LITERAL for Windows. - Needed to return a default value when returning from an switch for Android. BUG=704105 Review-Url: https://codereview.chromium.org/2763233003 Cr-Commit-Position: refs/heads/master@{#459067} Committed: https://chromium.googlesource.com/chromium/src/+/52b6cd6ecd26d8978e61fa708dd857c2909e49be

Patch Set 1 #

Total comments: 2

Patch Set 2 : fix + feedback #

Patch Set 3 : windows + android compilation #

Patch Set 4 : windows paths #

Patch Set 5 : next errors #

Patch Set 6 : even more #

Patch Set 7 : fix windows unititialized variable #

Patch Set 8 : Fix test expected file path #

Patch Set 9 : last? #

Total comments: 6

Patch Set 10 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+329 lines, -4671 lines) Patch
M components/BUILD.gn View 2 chunks +1 line, -1 line 0 comments Download
M components/browser_sync/BUILD.gn View 1 chunk +1 line, -2 lines 0 comments Download
M components/reading_list/core/BUILD.gn View 1 chunk +55 lines, -1 line 0 comments Download
A + components/reading_list/core/offline_url_utils.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/reading_list/core/offline_url_utils.cc View 1 2 3 4 5 2 chunks +15 lines, -9 lines 0 comments Download
A components/reading_list/core/offline_url_utils_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +85 lines, -0 lines 0 comments Download
A + components/reading_list/core/proto/BUILD.gn View 0 chunks +-1 lines, --1 lines 0 comments Download
A + components/reading_list/core/proto/reading_list.proto View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A + components/reading_list/core/reading_list_entry.h View 1 2 3 3 chunks +11 lines, -5 lines 0 comments Download
A + components/reading_list/core/reading_list_entry.cc View 1 2 3 4 5 6 5 chunks +16 lines, -13 lines 0 comments Download
A + components/reading_list/core/reading_list_entry_unittest.cc View 1 2 3 14 chunks +21 lines, -21 lines 0 comments Download
A + components/reading_list/core/reading_list_model.h View 3 chunks +5 lines, -5 lines 0 comments Download
A + components/reading_list/core/reading_list_model.cc View 1 chunk +1 line, -1 line 0 comments Download
A + components/reading_list/core/reading_list_model_impl.h View 2 chunks +7 lines, -7 lines 0 comments Download
A + components/reading_list/core/reading_list_model_impl.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/reading_list/core/reading_list_model_observer.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + components/reading_list/core/reading_list_model_storage.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + components/reading_list/core/reading_list_model_storage.cc View 1 chunk +1 line, -1 line 0 comments Download
A + components/reading_list/core/reading_list_model_unittest.cc View 1 2 3 4 5 chunks +8 lines, -8 lines 0 comments Download
A + components/reading_list/core/reading_list_pref_names.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/reading_list/core/reading_list_pref_names.cc View 1 chunk +1 line, -1 line 0 comments Download
A + components/reading_list/core/reading_list_store.h View 2 chunks +5 lines, -5 lines 0 comments Download
A + components/reading_list/core/reading_list_store.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/reading_list/core/reading_list_store_delegate.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + components/reading_list/core/reading_list_store_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/reading_list/ios/BUILD.gn View 1 1 chunk +0 lines, -43 lines 0 comments Download
D components/reading_list/ios/offline_url_utils.h View 1 chunk +0 lines, -52 lines 0 comments Download
D components/reading_list/ios/offline_url_utils.cc View 1 chunk +0 lines, -48 lines 0 comments Download
D components/reading_list/ios/offline_url_utils_unittest.cc View 1 chunk +0 lines, -61 lines 0 comments Download
D components/reading_list/ios/proto/BUILD.gn View 1 chunk +0 lines, -14 lines 0 comments Download
D components/reading_list/ios/proto/reading_list.proto View 1 chunk +0 lines, -47 lines 0 comments Download
D components/reading_list/ios/reading_list_entry.h View 1 chunk +0 lines, -209 lines 0 comments Download
D components/reading_list/ios/reading_list_entry.cc View 1 chunk +0 lines, -598 lines 0 comments Download
D components/reading_list/ios/reading_list_entry_unittest.cc View 1 chunk +0 lines, -422 lines 0 comments Download
D components/reading_list/ios/reading_list_model.h View 1 chunk +0 lines, -175 lines 0 comments Download
D components/reading_list/ios/reading_list_model.cc View 1 chunk +0 lines, -81 lines 0 comments Download
M components/reading_list/ios/reading_list_model_bridge_observer.h View 1 chunk +1 line, -1 line 0 comments Download
M components/reading_list/ios/reading_list_model_bridge_observer.mm View 1 chunk +2 lines, -2 lines 0 comments Download
D components/reading_list/ios/reading_list_model_impl.h View 1 chunk +0 lines, -153 lines 0 comments Download
D components/reading_list/ios/reading_list_model_impl.cc View 1 chunk +0 lines, -523 lines 0 comments Download
D components/reading_list/ios/reading_list_model_observer.h View 1 chunk +0 lines, -83 lines 0 comments Download
D components/reading_list/ios/reading_list_model_storage.h View 1 chunk +0 lines, -74 lines 0 comments Download
D components/reading_list/ios/reading_list_model_storage.cc View 1 chunk +0 lines, -12 lines 0 comments Download
D components/reading_list/ios/reading_list_model_unittest.cc View 1 chunk +0 lines, -732 lines 0 comments Download
D components/reading_list/ios/reading_list_pref_names.h View 1 chunk +0 lines, -18 lines 0 comments Download
D components/reading_list/ios/reading_list_pref_names.cc View 1 chunk +0 lines, -15 lines 0 comments Download
D components/reading_list/ios/reading_list_store.h View 1 chunk +0 lines, -174 lines 0 comments Download
D components/reading_list/ios/reading_list_store.cc View 1 chunk +0 lines, -464 lines 0 comments Download
D components/reading_list/ios/reading_list_store_delegate.h View 1 chunk +0 lines, -45 lines 0 comments Download
D components/reading_list/ios/reading_list_store_unittest.cc View 1 chunk +0 lines, -458 lines 0 comments Download
M ios/chrome/app/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/BUILD.gn View 1 3 chunks +3 lines, -2 lines 0 comments Download
M ios/chrome/browser/reading_list/offline_url_utils.cc View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_download_service.h View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_download_service.cc View 1 2 3 5 chunks +10 lines, -8 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_model_factory.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M ios/chrome/browser/reading_list/reading_list_remover_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_remover_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_web_state_observer.h View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_web_state_observer.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/reading_list_web_state_observer_unittest.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/url_downloader.cc View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/reading_list/url_downloader_unittest.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/share_extension/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/share_extension/share_extension_item_receiver.mm View 1 chunk +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/share_extension/share_extension_service.h View 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 1 chunk +3 lines, -2 lines 0 comments Download
M ios/chrome/browser/sync/BUILD.gn View 2 chunks +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/sync/ios_chrome_sync_client.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/tabs/BUILD.gn View 2 chunks +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/tabs/tab.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/activity_services/BUILD.gn View 2 chunks +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/browser_view_controller.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/ntp/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/reading_list/BUILD.gn View 1 4 chunks +4 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller.mm View 1 chunk +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_collection_view_controller_unittest.mm View 1 1 chunk +3 lines, -3 lines 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.h View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_collection_view_item.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_coordinator.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_coordinator_unittest.mm View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_egtest.mm View 1 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_menu_notifier.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/reading_list/reading_list_side_swipe_provider.mm View 1 chunk +2 lines, -2 lines 0 comments Download
M ios/chrome/browser/ui/side_swipe/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/side_swipe/side_swipe_controller.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/toolbar/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/ui/toolbar/tools_menu_button_observer_bridge.mm View 1 chunk +1 line, -1 line 0 comments Download
M ios/chrome/browser/ui/tools_menu/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 53 (42 generated)
Olivier
Tadaaaam!
3 years, 9 months ago (2017-03-22 13:34:53 UTC) #3
gambard
Thanks! Maybe it would be better to have the flags in a different folder? I ...
3 years, 9 months ago (2017-03-22 13:56:22 UTC) #8
Olivier
THank https://codereview.chromium.org/2763233003/diff/1/components/reading_list/ios/BUILD.gn File components/reading_list/ios/BUILD.gn (right): https://codereview.chromium.org/2763233003/diff/1/components/reading_list/ios/BUILD.gn#newcode14 components/reading_list/ios/BUILD.gn:14: "//components/reading_list/core:flags", On 2017/03/22 13:56:22, gambard wrote: > I ...
3 years, 9 months ago (2017-03-22 14:09:24 UTC) #11
Olivier
THanks
3 years, 9 months ago (2017-03-22 14:09:27 UTC) #12
Olivier
3 years, 9 months ago (2017-03-22 18:22:56 UTC) #33
sdefresne
Do you want me to review this CL? I've been added as reviewer but the ...
3 years, 9 months ago (2017-03-23 10:27:13 UTC) #42
Olivier
On 2017/03/23 10:27:13, sdefresne wrote: > Do you want me to review this CL? I've ...
3 years, 9 months ago (2017-03-23 10:27:48 UTC) #43
sdefresne
lgtm https://codereview.chromium.org/2763233003/diff/160001/components/reading_list/core/offline_url_utils.cc File components/reading_list/core/offline_url_utils.cc (right): https://codereview.chromium.org/2763233003/diff/160001/components/reading_list/core/offline_url_utils.cc#newcode12 components/reading_list/core/offline_url_utils.cc:12: const base::FilePath::CharType kOfflineDirectory[] = optional: it is quite ...
3 years, 9 months ago (2017-03-23 10:57:06 UTC) #44
Olivier
Thanks I will rename the class in another CL. https://codereview.chromium.org/2763233003/diff/160001/components/reading_list/core/offline_url_utils.cc File components/reading_list/core/offline_url_utils.cc (right): https://codereview.chromium.org/2763233003/diff/160001/components/reading_list/core/offline_url_utils.cc#newcode12 components/reading_list/core/offline_url_utils.cc:12: ...
3 years, 9 months ago (2017-03-23 12:27:37 UTC) #47
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/2763233003/180001
3 years, 9 months ago (2017-03-23 12:28:03 UTC) #50
commit-bot: I haz the power
3 years, 9 months ago (2017-03-23 13:56:48 UTC) #53
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/52b6cd6ecd26d8978e61fa708dd8...

Powered by Google App Engine
This is Rietveld 408576698