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

Issue 1750883002: Add enable-offlining-recent-pages feature switch. (Closed)

Created:
4 years, 9 months ago by Dmitry Titov
Modified:
4 years, 9 months ago
Reviewers:
rkaplow, jianli
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add enable-offlining-recent-pages feature switch. The feature is not yet implemented. See launch bug below for description. BUG=587599 Committed: https://crrev.com/1b3ad9bddb26f0dedbc7463397867d0a9981f85b Cr-Commit-Position: refs/heads/master@{#379997}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : add a test #

Patch Set 4 : updated histogram.xml #

Total comments: 1

Patch Set 5 : Fix build and style. #

Patch Set 6 : fix #

Patch Set 7 : switch to feature API #

Patch Set 8 : cleanup #

Patch Set 9 : rebase #

Patch Set 10 : clang #

Patch Set 11 : build break #

Total comments: 3

Patch Set 12 : resolve #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -8 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -0 lines 0 comments Download
M components/offline_pages/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M components/offline_pages/offline_page_feature.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -4 lines 0 comments Download
M components/offline_pages/offline_page_feature.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +10 lines, -4 lines 0 comments Download
M components/offline_pages/offline_page_model_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (8 generated)
Dmitry Titov
Hi, PTAL: JianLi: all RKaplow: histograms.xml Thanks!
4 years, 9 months ago (2016-03-02 00:38:26 UTC) #3
jianli
lgtm https://codereview.chromium.org/1750883002/diff/60001/components/offline_pages/offline_page_feature.cc File components/offline_pages/offline_page_feature.cc (right): https://codereview.chromium.org/1750883002/diff/60001/components/offline_pages/offline_page_feature.cc#newcode75 components/offline_pages/offline_page_feature.cc:75: bool hasDisableSwitch = base::CommandLine::ForCurrentProcess()->HasSwitch( nit: C++ style
4 years, 9 months ago (2016-03-02 00:52:32 UTC) #4
jianli
Have you considered to switching to base::Feature API?
4 years, 9 months ago (2016-03-02 01:07:23 UTC) #5
rkaplow
agreed - this mostly looks ok but if you can use the new feature API ...
4 years, 9 months ago (2016-03-03 18:34:24 UTC) #6
Dmitry Titov
PTAL switched to Feature API.
4 years, 9 months ago (2016-03-08 00:45:35 UTC) #7
jianli
https://codereview.chromium.org/1750883002/diff/200001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/1750883002/diff/200001/chrome/browser/about_flags.cc#newcode1804 chrome/browser/about_flags.cc:1804: {"offlining-recent-pages", IDS_FLAGS_OFFLINING_RECENT_PAGES_NAME, Do we still need this?
4 years, 9 months ago (2016-03-08 00:48:57 UTC) #8
Dmitry Titov
https://codereview.chromium.org/1750883002/diff/200001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/1750883002/diff/200001/chrome/browser/about_flags.cc#newcode1804 chrome/browser/about_flags.cc:1804: {"offlining-recent-pages", IDS_FLAGS_OFFLINING_RECENT_PAGES_NAME, On 2016/03/08 00:48:57, jianli wrote: > Do ...
4 years, 9 months ago (2016-03-08 01:08:24 UTC) #9
jianli
lgtm
4 years, 9 months ago (2016-03-08 01:08:29 UTC) #10
rkaplow
https://codereview.chromium.org/1750883002/diff/200001/components/offline_pages/offline_page_feature.cc File components/offline_pages/offline_page_feature.cc (right): https://codereview.chromium.org/1750883002/diff/200001/components/offline_pages/offline_page_feature.cc#newcode82 components/offline_pages/offline_page_feature.cc:82: return base::FeatureList::IsEnabled(kOffliningRecentPagesFeature) && this is a little bit confusing, ...
4 years, 9 months ago (2016-03-08 19:39:42 UTC) #11
Dmitry Titov
There is offline pages experiment that is going to ship soon. It already has complicated ...
4 years, 9 months ago (2016-03-08 20:52:06 UTC) #12
rkaplow
lgtm makes sense. Just doing my experimental due diligence. thanks!
4 years, 9 months ago (2016-03-08 22:10:48 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1750883002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1750883002/200001
4 years, 9 months ago (2016-03-08 23:06:48 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/154600)
4 years, 9 months ago (2016-03-08 23:14:25 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1750883002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1750883002/220001
4 years, 9 months ago (2016-03-08 23:27:03 UTC) #20
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 9 months ago (2016-03-09 00:34:21 UTC) #22
commit-bot: I haz the power
4 years, 9 months ago (2016-03-09 00:35:43 UTC) #24
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/1b3ad9bddb26f0dedbc7463397867d0a9981f85b
Cr-Commit-Position: refs/heads/master@{#379997}

Powered by Google App Engine
This is Rietveld 408576698