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

Issue 2796323002: Network traffic annotation added to translate_url_fetcher. (Closed)

Created:
3 years, 8 months ago by Ramin Halavati
Modified:
3 years, 7 months ago
CC:
chromium-reviews, battre, yyushkina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Network traffic annotation added to translate_url_fetcher. Network traffic annotation is added to network request of components/translate/core/browser/translate_url_fetcher.cc BUG=656607 Review-Url: https://codereview.chromium.org/2796323002 Cr-Commit-Position: refs/heads/master@{#469284} Committed: https://chromium.googlesource.com/chromium/src/+/835c333ccaca4bd41342b3e07b9d63f5fe554a52

Patch Set 1 #

Total comments: 23

Patch Set 2 : Annotation updated. #

Total comments: 3

Patch Set 3 : Annotation updated. #

Total comments: 7

Patch Set 4 : Comments addressed. #

Patch Set 5 : Comments addressed. #

Total comments: 8

Patch Set 6 : Comments addressed. #

Total comments: 8

Patch Set 7 : Chromium changed to Chrome. #

Total comments: 4

Patch Set 8 : Annotation updated. #

Patch Set 9 : Annotation updated. #

Total comments: 2

Patch Set 10 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -1 line) Patch
M components/translate/core/browser/translate_url_fetcher.cc View 1 2 3 4 5 6 7 8 9 2 chunks +51 lines, -1 line 0 comments Download

Messages

Total messages: 41 (8 generated)
Ramin Halavati
We are annotating all network requests in Chromium with a new NetworkTrafficAnnotation scheme. This allows ...
3 years, 8 months ago (2017-04-05 11:23:26 UTC) #2
Takashi Toyoshima
Sorry, I took sick leaves last week. Ramin: I added descriptions as review comments. My ...
3 years, 8 months ago (2017-04-10 09:18:58 UTC) #5
Ramin Halavati
Thank you very much, annotation updated, please review. I've added one inline question, also if ...
3 years, 8 months ago (2017-04-10 13:28:26 UTC) #6
Roger McFarlane (Chromium)
https://codereview.chromium.org/2796323002/diff/1/components/translate/core/browser/translate_url_fetcher.cc File components/translate/core/browser/translate_url_fetcher.cc (right): https://codereview.chromium.org/2796323002/diff/1/components/translate/core/browser/translate_url_fetcher.cc#newcode54 components/translate/core/browser/translate_url_fetcher.cc:54: description: "..." On 2017/04/10 09:18:58, Takashi Toyoshima wrote: > ...
3 years, 8 months ago (2017-04-10 15:51:04 UTC) #7
Takashi Toyoshima
lgtm if Roger's update is applied. https://codereview.chromium.org/2796323002/diff/1/components/translate/core/browser/translate_url_fetcher.cc File components/translate/core/browser/translate_url_fetcher.cc (right): https://codereview.chromium.org/2796323002/diff/1/components/translate/core/browser/translate_url_fetcher.cc#newcode54 components/translate/core/browser/translate_url_fetcher.cc:54: description: "..." Thanks, ...
3 years, 8 months ago (2017-04-11 06:39:26 UTC) #8
Ramin Halavati
Takashi, Roger, Thank you, I made a minor update in data, please review. Martin, Any ...
3 years, 8 months ago (2017-04-11 06:57:29 UTC) #10
Takashi Toyoshima
still lgtm https://codereview.chromium.org/2796323002/diff/40001/components/translate/core/browser/translate_url_fetcher.cc File components/translate/core/browser/translate_url_fetcher.cc (right): https://codereview.chromium.org/2796323002/diff/40001/components/translate/core/browser/translate_url_fetcher.cc#newcode66 components/translate/core/browser/translate_url_fetcher.cc:66: "Language id of the library that is ...
3 years, 8 months ago (2017-04-11 10:00:06 UTC) #11
Roger McFarlane (Chromium)
added some clarifying info you might consider Otherwise, LGTM. https://codereview.chromium.org/2796323002/diff/40001/components/translate/core/browser/translate_url_fetcher.cc File components/translate/core/browser/translate_url_fetcher.cc (right): https://codereview.chromium.org/2796323002/diff/40001/components/translate/core/browser/translate_url_fetcher.cc#newcode61 components/translate/core/browser/translate_url_fetcher.cc:61: ...
3 years, 8 months ago (2017-04-11 14:04:19 UTC) #12
Takashi Toyoshima
https://codereview.chromium.org/2796323002/diff/40001/components/translate/core/browser/translate_url_fetcher.cc File components/translate/core/browser/translate_url_fetcher.cc (right): https://codereview.chromium.org/2796323002/diff/40001/components/translate/core/browser/translate_url_fetcher.cc#newcode61 components/translate/core/browser/translate_url_fetcher.cc:61: "When Chromium translates a web site, it triggers a ...
3 years, 8 months ago (2017-04-12 05:49:18 UTC) #13
Ramin Halavati
Thank you very much, I updated the annotation and added your last comment in 'settings' ...
3 years, 8 months ago (2017-04-12 05:54:44 UTC) #14
Roger McFarlane (Chromium)
https://codereview.chromium.org/2796323002/diff/40001/components/translate/core/browser/translate_url_fetcher.cc File components/translate/core/browser/translate_url_fetcher.cc (right): https://codereview.chromium.org/2796323002/diff/40001/components/translate/core/browser/translate_url_fetcher.cc#newcode61 components/translate/core/browser/translate_url_fetcher.cc:61: "When Chromium translates a web site, it triggers a ...
3 years, 8 months ago (2017-04-12 14:04:12 UTC) #15
Takashi Toyoshima
Ramin: Yes, even if the translation is disabled by settings, language detection runs on each ...
3 years, 8 months ago (2017-04-13 03:43:21 UTC) #16
Ramin Halavati
On 2017/04/13 03:43:21, Takashi Toyoshima wrote: > Ramin: > Yes, even if the translation is ...
3 years, 8 months ago (2017-04-13 06:01:14 UTC) #17
Takashi Toyoshima
> 1- So regardless of the settings or policy, at each Chrome startup, it checks ...
3 years, 8 months ago (2017-04-13 09:25:26 UTC) #18
Roger McFarlane (Chromium)
Re: 1 It is a cookie-less GET request with no payload to download the model ...
3 years, 8 months ago (2017-04-13 14:17:29 UTC) #19
Roger McFarlane (Chromium)
Hit send too early... It first loads the model from disk cache. If the cached ...
3 years, 8 months ago (2017-04-13 14:23:31 UTC) #20
Ramin Halavati
Roger, Takashi, Thank you very much. I updated the text based on your comments, please ...
3 years, 8 months ago (2017-04-18 05:53:50 UTC) #21
Takashi Toyoshima
https://codereview.chromium.org/2796323002/diff/80001/components/translate/core/browser/translate_url_fetcher.cc File components/translate/core/browser/translate_url_fetcher.cc (right): https://codereview.chromium.org/2796323002/diff/80001/components/translate/core/browser/translate_url_fetcher.cc#newcode64 components/translate/core/browser/translate_url_fetcher.cc:64: "latest model is provided by finch. If latest model ...
3 years, 8 months ago (2017-04-18 07:00:08 UTC) #22
Ramin Halavati
Comments addressed, please review. https://codereview.chromium.org/2796323002/diff/80001/components/translate/core/browser/translate_url_fetcher.cc File components/translate/core/browser/translate_url_fetcher.cc (right): https://codereview.chromium.org/2796323002/diff/80001/components/translate/core/browser/translate_url_fetcher.cc#newcode64 components/translate/core/browser/translate_url_fetcher.cc:64: "latest model is provided by ...
3 years, 8 months ago (2017-04-18 07:08:14 UTC) #23
Takashi Toyoshima
Sorry, I noticed this in the last review, but there is one another kind of ...
3 years, 8 months ago (2017-04-18 07:27:36 UTC) #24
Ramin Halavati
Comments addressed, please review. https://codereview.chromium.org/2796323002/diff/100001/components/translate/core/browser/translate_url_fetcher.cc File components/translate/core/browser/translate_url_fetcher.cc (right): https://codereview.chromium.org/2796323002/diff/100001/components/translate/core/browser/translate_url_fetcher.cc#newcode55 components/translate/core/browser/translate_url_fetcher.cc:55: "Chromium can provide translations for ...
3 years, 8 months ago (2017-04-18 07:58:00 UTC) #25
Takashi Toyoshima
lgtm
3 years, 8 months ago (2017-04-18 09:37:32 UTC) #26
Ramin Halavati
Thank you Takashi. Martin, Any comments?
3 years, 8 months ago (2017-04-18 09:38:56 UTC) #27
Roger McFarlane (Chromium)
https://codereview.chromium.org/2796323002/diff/120001/components/translate/core/browser/translate_url_fetcher.cc File components/translate/core/browser/translate_url_fetcher.cc (right): https://codereview.chromium.org/2796323002/diff/120001/components/translate/core/browser/translate_url_fetcher.cc#newcode62 components/translate/core/browser/translate_url_fetcher.cc:62: "for translation, and a predictive model to detect the ...
3 years, 8 months ago (2017-04-18 20:48:19 UTC) #28
Ramin Halavati
Roger, Comment addressed, please review. https://codereview.chromium.org/2796323002/diff/120001/components/translate/core/browser/translate_url_fetcher.cc File components/translate/core/browser/translate_url_fetcher.cc (right): https://codereview.chromium.org/2796323002/diff/120001/components/translate/core/browser/translate_url_fetcher.cc#newcode62 components/translate/core/browser/translate_url_fetcher.cc:62: "for translation, and a ...
3 years, 8 months ago (2017-04-19 06:07:06 UTC) #29
Roger McFarlane (Chromium)
Sorry, I didn't realize you hadn't just made a correction and landed this change already. ...
3 years, 7 months ago (2017-05-03 14:34:09 UTC) #30
Ramin Halavati
Roger, I had misunderstood your comment, changed the annotation to reflect that only the prediction ...
3 years, 7 months ago (2017-05-03 15:20:40 UTC) #31
Roger McFarlane (Chromium)
lgtm
3 years, 7 months ago (2017-05-03 15:52:37 UTC) #32
Ramin Halavati
Thanks Roger. Martin, Any comments?
3 years, 7 months ago (2017-05-03 16:02:37 UTC) #33
msramek
LGTM https://codereview.chromium.org/2796323002/diff/160001/components/translate/core/browser/translate_url_fetcher.cc File components/translate/core/browser/translate_url_fetcher.cc (right): https://codereview.chromium.org/2796323002/diff/160001/components/translate/core/browser/translate_url_fetcher.cc#newcode81 components/translate/core/browser/translate_url_fetcher.cc:81: "Current locale is sent to fetch the list ...
3 years, 7 months ago (2017-05-03 16:43:14 UTC) #34
Ramin Halavati
Thank you, comment addressed, landing. https://codereview.chromium.org/2796323002/diff/160001/components/translate/core/browser/translate_url_fetcher.cc File components/translate/core/browser/translate_url_fetcher.cc (right): https://codereview.chromium.org/2796323002/diff/160001/components/translate/core/browser/translate_url_fetcher.cc#newcode81 components/translate/core/browser/translate_url_fetcher.cc:81: "Current locale is sent ...
3 years, 7 months ago (2017-05-04 04:51:47 UTC) #35
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/2796323002/180001
3 years, 7 months ago (2017-05-04 04:52:05 UTC) #38
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 06:14:04 UTC) #41
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/835c333ccaca4bd41342b3e07b9d...

Powered by Google App Engine
This is Rietveld 408576698