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

Issue 2570673004: Remove host restrictions from snippets (Closed)

Created:
4 years ago by sfiera
Modified:
4 years ago
CC:
chromium-reviews, arv+watch_chromium.org, ntp-dev+reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove host restrictions from snippets They were only supported in chrome://snippets-internals, and are now removed there too. Note that, if a user somehow manages to issue an interactive request before the snippets service reports itself as ready, we schedule a request for later, which will be marked as non-interactive. BUG=648567 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/b19e566077e57c2e04de0bcf391e35eff8fd1e8d Cr-Commit-Position: refs/heads/master@{#438482}

Patch Set 1 #

Patch Set 2 : Remove host restrictions from snippets #

Total comments: 2

Patch Set 3 : Remove unneeded code #

Patch Set 4 : Fix test #

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -117 lines) Patch
M chrome/browser/resources/snippets_internals.css View 2 chunks +1 line, -5 lines 0 comments Download
M chrome/browser/resources/snippets_internals.html View 1 2 3 4 5 1 chunk +1 line, -5 lines 0 comments Download
M chrome/browser/resources/snippets_internals.js View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/snippets_internals_message_handler.cc View 1 2 3 4 5 2 chunks +4 lines, -14 lines 0 comments Download
M components/ntp_snippets/remote/ntp_snippets_fetcher.h View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M components/ntp_snippets/remote/ntp_snippets_fetcher.cc View 1 2 3 4 2 chunks +0 lines, -15 lines 0 comments Download
M components/ntp_snippets/remote/ntp_snippets_fetcher_unittest.cc View 1 2 3 4 10 chunks +1 line, -51 lines 0 comments Download
M components/ntp_snippets/remote/remote_suggestions_provider.h View 1 2 3 4 5 1 chunk +0 lines, -6 lines 0 comments Download
M components/ntp_snippets/remote/remote_suggestions_provider.cc View 1 2 3 4 5 1 chunk +3 lines, -17 lines 0 comments Download

Messages

Total messages: 39 (27 generated)
sfiera
My favorite kind of CL
4 years ago (2016-12-13 12:23:02 UTC) #5
Marc Treib
lgtm Yay, mine too! Deleted code is best code! https://codereview.chromium.org/2570673004/diff/20001/components/ntp_snippets/remote/ntp_snippets_fetcher.cc File components/ntp_snippets/remote/ntp_snippets_fetcher.cc (right): https://codereview.chromium.org/2570673004/diff/20001/components/ntp_snippets/remote/ntp_snippets_fetcher.cc#newcode725 components/ntp_snippets/remote/ntp_snippets_fetcher.cc:725: ...
4 years ago (2016-12-13 13:27:49 UTC) #6
sfiera
https://codereview.chromium.org/2570673004/diff/20001/components/ntp_snippets/remote/ntp_snippets_fetcher.cc File components/ntp_snippets/remote/ntp_snippets_fetcher.cc (right): https://codereview.chromium.org/2570673004/diff/20001/components/ntp_snippets/remote/ntp_snippets_fetcher.cc#newcode725 components/ntp_snippets/remote/ntp_snippets_fetcher.cc:725: std::move(content_selectors)); On 2016/12/13 13:27:49, Marc Treib wrote: > I ...
4 years ago (2016-12-13 13:41:57 UTC) #8
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/2570673004/40001
4 years ago (2016-12-13 13:42:18 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/324716) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years ago (2016-12-13 13:46:18 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/2570673004/80001
4 years ago (2016-12-13 16:36:35 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/324836)
4 years ago (2016-12-13 16:44:18 UTC) #25
sfiera
+bauerb for webui as usual, thanks!
4 years ago (2016-12-14 10:17:45 UTC) #27
Bernhard Bauer
webui LGTM
4 years ago (2016-12-14 10:59:36 UTC) #30
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/2570673004/100001
4 years ago (2016-12-14 11:02:44 UTC) #34
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-14 11:41:13 UTC) #37
commit-bot: I haz the power
4 years ago (2016-12-14 11:42:43 UTC) #39
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b19e566077e57c2e04de0bcf391e35eff8fd1e8d
Cr-Commit-Position: refs/heads/master@{#438482}

Powered by Google App Engine
This is Rietveld 408576698