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

Issue 1968563003: [Offline pages] Extracting callbacks from the Offline Page Model (Closed)

Created:
4 years, 7 months ago by fgorski
Modified:
4 years, 7 months ago
Reviewers:
msramek, romax, dewittj
CC:
chromium-reviews, msramek+watch_chromium.org, romax+watch_chromium.org, fgorski+watch_chromium.org, petewil+watch_chromium.org, dewittj+watch_chromium.org, markusheintz_, dimich+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offline pages] Extracting callbacks from the Offline Page Model This patch: * Moves the callbacks and enums from offline page model * Updates all of the consumers of the callbacks and enums BUG=610824 Committed: https://crrev.com/fe8a72da89b1941cccdd54a0da548540360286a6 Cr-Commit-Position: refs/heads/master@{#393044}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Aliasing 4 result types in the model to reduce the change impact #

Total comments: 2

Patch Set 3 : Adding a missing fix to gypi file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -107 lines) Patch
M chrome/browser/android/offline_pages/offline_page_tab_helper_unittest.cc View 1 1 chunk +1 line, -4 lines 0 comments Download
M chrome/browser/android/offline_pages/offline_page_utils_unittest.cc View 1 3 chunks +4 lines, -6 lines 0 comments Download
M components/offline_pages.gypi View 1 2 3 chunks +6 lines, -5 lines 0 comments Download
M components/offline_pages/BUILD.gn View 2 chunks +2 lines, -1 line 0 comments Download
M components/offline_pages/offline_page_model.h View 1 6 chunks +14 lines, -66 lines 0 comments Download
M components/offline_pages/offline_page_model.cc View 4 chunks +3 lines, -4 lines 0 comments Download
M components/offline_pages/offline_page_model_unittest.cc View 1 3 chunks +4 lines, -15 lines 0 comments Download
M components/offline_pages/offline_page_storage_manager.cc View 1 1 chunk +1 line, -4 lines 0 comments Download
M components/offline_pages/offline_page_storage_manager_unittest.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
A components/offline_pages/offline_page_types.h View 1 chunk +84 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
fgorski
PTAL. Question I have to you is: should I also add the _types.h in every ...
4 years, 7 months ago (2016-05-10 21:20:23 UTC) #2
dewittj
yes, I think we should IWYU, even if it's temporary.
4 years, 7 months ago (2016-05-10 22:38:28 UTC) #3
dewittj
On 2016/05/10 22:38:28, dewittj wrote: > yes, I think we should IWYU, even if it's ...
4 years, 7 months ago (2016-05-10 22:39:17 UTC) #4
romax
lgtm 1. I don't really know why we have to include _types.h in every file... ...
4 years, 7 months ago (2016-05-10 22:39:38 UTC) #5
msramek
browsing_data/ drive-by LGTM https://codereview.chromium.org/1968563003/diff/1/components/offline_pages.gypi File components/offline_pages.gypi (right): https://codereview.chromium.org/1968563003/diff/1/components/offline_pages.gypi#newcode26 components/offline_pages.gypi:26: 'offline_pages/client_policy_controller.h', Spaces instead of tabs please ...
4 years, 7 months ago (2016-05-11 11:38:35 UTC) #7
fgorski
OK, updated the following way: * Aliased several types that are used outside of the ...
4 years, 7 months ago (2016-05-11 18:39:05 UTC) #8
dewittj
lgtm https://codereview.chromium.org/1968563003/diff/20001/components/offline_pages/offline_page_storage_manager.cc File components/offline_pages/offline_page_storage_manager.cc (right): https://codereview.chromium.org/1968563003/diff/20001/components/offline_pages/offline_page_storage_manager.cc#newcode12 components/offline_pages/offline_page_storage_manager.cc:12: #include "components/offline_pages/offline_page_types.h" you could revert this file, if ...
4 years, 7 months ago (2016-05-11 18:42:56 UTC) #9
fgorski
https://codereview.chromium.org/1968563003/diff/20001/components/offline_pages/offline_page_storage_manager.cc File components/offline_pages/offline_page_storage_manager.cc (right): https://codereview.chromium.org/1968563003/diff/20001/components/offline_pages/offline_page_storage_manager.cc#newcode12 components/offline_pages/offline_page_storage_manager.cc:12: #include "components/offline_pages/offline_page_types.h" On 2016/05/11 18:42:56, dewittj wrote: > you ...
4 years, 7 months ago (2016-05-11 19:14:20 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1968563003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1968563003/40001
4 years, 7 months ago (2016-05-11 19:25:16 UTC) #13
romax
On 2016/05/11 18:39:05, fgorski wrote: > OK, updated the following way: > * Aliased several ...
4 years, 7 months ago (2016-05-11 20:00:34 UTC) #14
fgorski
On 2016/05/11 20:00:34, romax wrote: > On 2016/05/11 18:39:05, fgorski wrote: > > OK, updated ...
4 years, 7 months ago (2016-05-11 20:17:13 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-11 20:25:04 UTC) #16
commit-bot: I haz the power
4 years, 7 months ago (2016-05-11 20:26:05 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fe8a72da89b1941cccdd54a0da548540360286a6
Cr-Commit-Position: refs/heads/master@{#393044}

Powered by Google App Engine
This is Rietveld 408576698