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

Issue 1384973002: Add InterestsFetcher which retrieves a user's interests from the server. (Closed)

Created:
5 years, 2 months ago by PEConn
Modified:
5 years, 2 months ago
CC:
chromium-reviews, asanka, benjhayden+dwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add InterestsFetcher which retrieves a list of topics the user is interested in according to Google Now. BUG=537145 Previous CL:https://codereview.chromium.org/1317513004 Committed: https://crrev.com/d182b99e34694a0a4beb71068b30460bfbdea4ed Cr-Commit-Position: refs/heads/master@{#352607}

Patch Set 1 #

Total comments: 30

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+504 lines, -0 lines) Patch
A chrome/browser/interests/OWNERS View 1 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/interests/interests_fetcher.h View 1 2 3 1 chunk +91 lines, -0 lines 0 comments Download
A chrome/browser/interests/interests_fetcher.cc View 1 2 3 4 1 chunk +214 lines, -0 lines 0 comments Download
A chrome/browser/interests/interests_fetcher_unittest.cc View 1 1 chunk +190 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (6 generated)
PEConn
I am taking over https://codereview.chromium.org/1317513004.
5 years, 2 months ago (2015-10-05 14:11:21 UTC) #2
Bernhard Bauer
https://codereview.chromium.org/1384973002/diff/1/chrome/browser/interests/interests_fetcher.cc File chrome/browser/interests/interests_fetcher.cc (right): https://codereview.chromium.org/1384973002/diff/1/chrome/browser/interests/interests_fetcher.cc#newcode42 chrome/browser/interests/interests_fetcher.cc:42: command_line->GetSwitchValueASCII(switches::kInterestsURL)); You can inline the constructor (`return GURL(...);`) https://codereview.chromium.org/1384973002/diff/1/chrome/browser/interests/interests_fetcher.cc#newcode49 ...
5 years, 2 months ago (2015-10-06 08:56:10 UTC) #3
Marc Treib
https://codereview.chromium.org/1384973002/diff/1/chrome/browser/interests/OWNERS File chrome/browser/interests/OWNERS (right): https://codereview.chromium.org/1384973002/diff/1/chrome/browser/interests/OWNERS#newcode1 chrome/browser/interests/OWNERS:1: treib@chromium.org Feel free to also add yourself here! https://codereview.chromium.org/1384973002/diff/1/chrome/browser/interests/interests_fetcher.h ...
5 years, 2 months ago (2015-10-06 09:35:47 UTC) #4
PEConn
https://codereview.chromium.org/1384973002/diff/1/chrome/browser/interests/OWNERS File chrome/browser/interests/OWNERS (right): https://codereview.chromium.org/1384973002/diff/1/chrome/browser/interests/OWNERS#newcode1 chrome/browser/interests/OWNERS:1: treib@chromium.org On 2015/10/06 09:35:47, Marc Treib wrote: > Feel ...
5 years, 2 months ago (2015-10-06 10:11:45 UTC) #5
PEConn
@treib - What did you mean when you said that FetchInterests should only be called ...
5 years, 2 months ago (2015-10-06 10:56:27 UTC) #6
Marc Treib
On 2015/10/06 10:56:27, PEConn1 wrote: > @treib - What did you mean when you said ...
5 years, 2 months ago (2015-10-06 11:06:46 UTC) #7
Bernhard Bauer
On 2015/10/06 10:56:27, PEConn1 wrote: > @treib - What did you mean when you said ...
5 years, 2 months ago (2015-10-06 11:07:55 UTC) #8
PEConn
Changed comment about class being single use. https://codereview.chromium.org/1384973002/diff/20001/chrome/browser/interests/interests_fetcher.cc File chrome/browser/interests/interests_fetcher.cc (right): https://codereview.chromium.org/1384973002/diff/20001/chrome/browser/interests/interests_fetcher.cc#newcode103 chrome/browser/interests/interests_fetcher.cc:103: access_token_expired_ = ...
5 years, 2 months ago (2015-10-06 13:24:34 UTC) #9
Marc Treib
lgtm https://codereview.chromium.org/1384973002/diff/40001/chrome/browser/interests/interests_fetcher.cc File chrome/browser/interests/interests_fetcher.cc (right): https://codereview.chromium.org/1384973002/diff/40001/chrome/browser/interests/interests_fetcher.cc#newcode105 chrome/browser/interests/interests_fetcher.cc:105: ->InvalidateAccessToken(account_id_, GetApiScopes(), access_token_); Did "git cl format" do ...
5 years, 2 months ago (2015-10-06 13:38:32 UTC) #10
Marc Treib
Ah, maybe the description could use some cleanup. What are "a user's interests"? What is ...
5 years, 2 months ago (2015-10-06 13:39:57 UTC) #11
Bernhard Bauer
LGTM with my and Marc's remaining comments addressed. On 2015/10/06 13:39:57, Marc Treib wrote: > ...
5 years, 2 months ago (2015-10-06 13:44:12 UTC) #12
PEConn
https://codereview.chromium.org/1384973002/diff/40001/chrome/browser/interests/interests_fetcher.cc File chrome/browser/interests/interests_fetcher.cc (right): https://codereview.chromium.org/1384973002/diff/40001/chrome/browser/interests/interests_fetcher.cc#newcode105 chrome/browser/interests/interests_fetcher.cc:105: ->InvalidateAccessToken(account_id_, GetApiScopes(), access_token_); On 2015/10/06 13:38:32, Marc Treib wrote: ...
5 years, 2 months ago (2015-10-06 14:21:29 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1384973002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1384973002/60001
5 years, 2 months ago (2015-10-06 14:22:33 UTC) #16
Marc Treib
I meant updating the CL description :) But nevermind. https://codereview.chromium.org/1384973002/diff/60001/chrome/browser/interests/interests_fetcher.cc File chrome/browser/interests/interests_fetcher.cc (right): https://codereview.chromium.org/1384973002/diff/60001/chrome/browser/interests/interests_fetcher.cc#newcode193 chrome/browser/interests/interests_fetcher.cc:193: ...
5 years, 2 months ago (2015-10-06 14:28:00 UTC) #17
Bernhard Bauer
https://codereview.chromium.org/1384973002/diff/60001/chrome/browser/interests/interests_fetcher.cc File chrome/browser/interests/interests_fetcher.cc (right): https://codereview.chromium.org/1384973002/diff/60001/chrome/browser/interests/interests_fetcher.cc#newcode193 chrome/browser/interests/interests_fetcher.cc:193: double relevance{}; Nit (possibly for a follow-up CL): Please ...
5 years, 2 months ago (2015-10-06 14:30:10 UTC) #18
PEConn
https://codereview.chromium.org/1384973002/diff/60001/chrome/browser/interests/interests_fetcher.cc File chrome/browser/interests/interests_fetcher.cc (right): https://codereview.chromium.org/1384973002/diff/60001/chrome/browser/interests/interests_fetcher.cc#newcode193 chrome/browser/interests/interests_fetcher.cc:193: double relevance{}; On 2015/10/06 14:28:00, Marc Treib wrote: > ...
5 years, 2 months ago (2015-10-06 14:46:08 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1384973002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1384973002/80001
5 years, 2 months ago (2015-10-06 14:47:15 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 2 months ago (2015-10-06 15:25:46 UTC) #24
commit-bot: I haz the power
5 years, 2 months ago (2015-10-06 15:26:41 UTC) #25
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/d182b99e34694a0a4beb71068b30460bfbdea4ed
Cr-Commit-Position: refs/heads/master@{#352607}

Powered by Google App Engine
This is Rietveld 408576698