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

Issue 2686053002: Don't instantiate ContentSuggestionsService on non-Android (Closed)

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

Description

Don't instantiate ContentSuggestionsService on non-Android BUG=688366 Review-Url: https://codereview.chromium.org/2686053002 Cr-Commit-Position: refs/heads/master@{#449293} Committed: https://chromium.googlesource.com/chromium/src/+/c18c1ca3ce39b15464102d92a15367b0e5a89ac7

Patch Set 1 #

Patch Set 2 : fix the build #

Patch Set 3 : Add browsertest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -0 lines) Patch
M chrome/browser/ntp_snippets/content_suggestions_service_factory.cc View 1 6 chunks +22 lines, -0 lines 0 comments Download
A chrome/browser/ntp_snippets/content_suggestions_service_factory_browsertest.cc View 1 2 1 chunk +22 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
Marc Treib
3 years, 10 months ago (2017-02-09 10:55:05 UTC) #4
tschumann
is there a nice way we can test this? E.g. making sure that we get ...
3 years, 10 months ago (2017-02-09 11:02:18 UTC) #5
Marc Treib
On 2017/02/09 11:02:18, tschumann wrote: > is there a nice way we can test this? ...
3 years, 10 months ago (2017-02-09 12:07:32 UTC) #8
jkrcal
Is it intentional that this does not touch iOS? (I think it is what we ...
3 years, 10 months ago (2017-02-09 13:06:30 UTC) #9
Marc Treib
On 2017/02/09 13:06:30, jkrcal wrote: > Is it intentional that this does not touch iOS? ...
3 years, 10 months ago (2017-02-09 13:14:17 UTC) #12
jkrcal
On 2017/02/09 at 13:14:17, treib wrote: > On 2017/02/09 13:06:30, jkrcal wrote: > > Is ...
3 years, 10 months ago (2017-02-09 13:31:26 UTC) #13
Marc Treib
On 2017/02/09 13:31:26, jkrcal wrote: > On 2017/02/09 at 13:14:17, treib wrote: > > On ...
3 years, 10 months ago (2017-02-09 13:45:29 UTC) #14
jkrcal
On 2017/02/09 at 13:45:29, treib wrote: > On 2017/02/09 13:31:26, jkrcal wrote: > > On ...
3 years, 10 months ago (2017-02-09 13:55:04 UTC) #17
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/2686053002/40001
3 years, 10 months ago (2017-02-09 15:15:49 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/c18c1ca3ce39b15464102d92a15367b0e5a89ac7
3 years, 10 months ago (2017-02-09 15:21:16 UTC) #24
tschumann
nice! I assume you saw the test fail for desktop ;-) [I don't trust those ...
3 years, 10 months ago (2017-02-09 15:42:29 UTC) #25
Marc Treib
3 years, 10 months ago (2017-02-09 16:02:57 UTC) #26
Message was sent while issue was closed.
On 2017/02/09 15:42:29, tschumann wrote:
> nice! I assume you saw the test fail for desktop ;-) [I don't trust those #if
> defines...]

You mean, running the test without the new "#if"s? Yup, that fails.

Interestingly, trying to instantiate ContentSuggestionsService on desktop
crashed anyway, because we're trying to read some prefs that aren't registered.
So the problem of the service getting created on desktop has been fixed;
otherwise we would have gotten crash reports :)

Powered by Google App Engine
This is Rietveld 408576698