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

Issue 2889153003: [NTP::SectionOrder] Add ranker section to snippets internals. (Closed)

Created:
3 years, 7 months ago by vitaliii
Modified:
3 years, 7 months ago
Reviewers:
jkrcal
CC:
chromium-reviews, noyau+watch_chromium.org, arv+watch_chromium.org, ntp-dev+reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[NTP::SectionOrder] Add ranker section to snippets internals. Previously, it was cumbersome to verify whether ranker works (due to implicity of its effects). This CL adds some ranker debug output to snippets internals. The screenshots are in the bug. BUG=723622 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2889153003 Cr-Commit-Position: refs/heads/master@{#472847} Committed: https://chromium.googlesource.com/chromium/src/+/147728249280f6259c9143a91d878408b4c8e5a2

Patch Set 1 : #

Total comments: 2

Patch Set 2 : jkrcal@ nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+139 lines, -0 lines) Patch
M chrome/browser/resources/snippets_internals.html View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/resources/snippets_internals.js View 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/snippets_internals_message_handler.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/snippets_internals_message_handler.cc View 3 chunks +20 lines, -0 lines 0 comments Download
M components/ntp_snippets/category_rankers/category_ranker.h View 2 chunks +14 lines, -0 lines 0 comments Download
M components/ntp_snippets/category_rankers/click_based_category_ranker.h View 2 chunks +2 lines, -0 lines 0 comments Download
M components/ntp_snippets/category_rankers/click_based_category_ranker.cc View 1 3 chunks +49 lines, -0 lines 0 comments Download
M components/ntp_snippets/category_rankers/constant_category_ranker.h View 2 chunks +2 lines, -0 lines 0 comments Download
M components/ntp_snippets/category_rankers/constant_category_ranker.cc View 1 2 chunks +29 lines, -0 lines 0 comments Download
M components/ntp_snippets/category_rankers/fake_category_ranker.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/ntp_snippets/category_rankers/fake_category_ranker.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M components/ntp_snippets/category_rankers/mock_category_ranker.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
vitaliii
Hi jkrcal@, Could you have a look please?
3 years, 7 months ago (2017-05-18 12:08:06 UTC) #5
jkrcal
lgtm https://codereview.chromium.org/2889153003/diff/20001/components/ntp_snippets/category_rankers/constant_category_ranker.cc File components/ntp_snippets/category_rankers/constant_category_ranker.cc (right): https://codereview.chromium.org/2889153003/diff/20001/components/ntp_snippets/category_rankers/constant_category_ranker.cc#newcode99 components/ntp_snippets/category_rankers/constant_category_ranker.cc:99: if (!first) { nit: maybe you can simplify ...
3 years, 7 months ago (2017-05-18 12:16:58 UTC) #7
vitaliii
I've addressed your nit, no need to look. https://codereview.chromium.org/2889153003/diff/20001/components/ntp_snippets/category_rankers/constant_category_ranker.cc File components/ntp_snippets/category_rankers/constant_category_ranker.cc (right): https://codereview.chromium.org/2889153003/diff/20001/components/ntp_snippets/category_rankers/constant_category_ranker.cc#newcode99 components/ntp_snippets/category_rankers/constant_category_ranker.cc:99: if ...
3 years, 7 months ago (2017-05-18 13:00:50 UTC) #9
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/2889153003/60001
3 years, 7 months ago (2017-05-18 13:02:58 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/430479)
3 years, 7 months ago (2017-05-18 15:16:52 UTC) #14
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/2889153003/60001
3 years, 7 months ago (2017-05-18 15:21:29 UTC) #16
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 16:53:28 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/147728249280f6259c9143a91d87...

Powered by Google App Engine
This is Rietveld 408576698