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

Issue 2292053004: Inject API key directly into snippets fetcher. (Closed)

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

Description

Inject API key directly into snippets fetcher. With this, tests that involve a fetcher don't have to depend on production API keys themselves. Committed: https://crrev.com/225fdc67c3f27d729bd873c67cc48455b380a3e1 Cr-Commit-Position: refs/heads/master@{#418027}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 6

Patch Set 3 : Address review comments. #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -32 lines) Patch
M chrome/browser/ntp_snippets/content_suggestions_service_factory.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M components/ntp_snippets/ntp_snippets_fetcher.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_fetcher.cc View 1 2 3 4 chunks +3 lines, -7 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_fetcher_unittest.cc View 1 2 3 5 chunks +9 lines, -13 lines 0 comments Download
M components/ntp_snippets/ntp_snippets_service_unittest.cc View 1 2 3 4 chunks +5 lines, -7 lines 0 comments Download
M ios/chrome/browser/ntp_snippets/ios_chrome_content_suggestions_service_factory.cc View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 23 (15 generated)
sfiera
Removing the image URL tomorrow.
4 years, 3 months ago (2016-08-30 17:44:58 UTC) #2
Marc Treib
lgtm https://codereview.chromium.org/2292053004/diff/20001/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc File chrome/browser/ntp_snippets/content_suggestions_service_factory.cc (right): https://codereview.chromium.org/2292053004/diff/20001/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc#newcode162 chrome/browser/ntp_snippets/content_suggestions_service_factory.cc:162: : google_apis::GetNonStableAPIKey()), You'll probably have to do the ...
4 years, 3 months ago (2016-08-31 09:26:16 UTC) #3
sfiera
https://codereview.chromium.org/2292053004/diff/20001/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc File chrome/browser/ntp_snippets/content_suggestions_service_factory.cc (right): https://codereview.chromium.org/2292053004/diff/20001/chrome/browser/ntp_snippets/content_suggestions_service_factory.cc#newcode162 chrome/browser/ntp_snippets/content_suggestions_service_factory.cc:162: : google_apis::GetNonStableAPIKey()), On 2016/08/31 09:26:16, Marc Treib wrote: > ...
4 years, 3 months ago (2016-08-31 10:09:16 UTC) #6
sfiera
Eric, this is just a small change to improve tests. PTAL.
4 years, 3 months ago (2016-08-31 13:17:59 UTC) #11
noyau (Ping after 24h)
ios lgtm.
4 years, 3 months ago (2016-08-31 14:35:47 UTC) #12
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/2292053004/60001
4 years, 3 months ago (2016-09-12 20:15:46 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 3 months ago (2016-09-12 20:20:31 UTC) #21
commit-bot: I haz the power
4 years, 3 months ago (2016-09-12 20:24:04 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/225fdc67c3f27d729bd873c67cc48455b380a3e1
Cr-Commit-Position: refs/heads/master@{#418027}

Powered by Google App Engine
This is Rietveld 408576698