New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 722679 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit 29 days ago
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Feature



Sign in to add a comment

Implement GAIA-keyed logging of URL language detection

Project Member Reported by napper@chromium.org, May 16 2017

Issue description

We need to implement GAIA-keyed logging of detected languages for URLs.
 
Project Member

Comment 5 by bugdroid1@chromium.org, Jun 14 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/cdce2652bc147496e6d53348d80f21c8d7e7dec6

commit cdce2652bc147496e6d53348d80f21c8d7e7dec6
Author: renjieliu <renjieliu@chromium.org>
Date: Wed Jun 14 01:41:17 2017

Set up switches for user language detection and translation events.

These two switches control logging language detection and translation
events behavior. However, we still rely on SyncUserEvents as a
centralized gateway to logging.

BUG= 722679 , 728491 

Review-Url: https://codereview.chromium.org/2932603002
Cr-Commit-Position: refs/heads/master@{#479247}

[modify] https://crrev.com/cdce2652bc147496e6d53348d80f21c8d7e7dec6/components/sync/driver/sync_driver_switches.cc
[modify] https://crrev.com/cdce2652bc147496e6d53348d80f21c8d7e7dec6/components/sync/driver/sync_driver_switches.h

Project Member

Comment 7 by bugdroid1@chromium.org, Jun 21 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/106a571ac7652839571550ae6738086a4e787c31

commit 106a571ac7652839571550ae6738086a4e787c31
Author: renjieliu <renjieliu@chromium.org>
Date: Wed Jun 21 01:03:48 2017

Add switches for language detection and translation logging.

Apply switches as previosuly discussed so we easily turn off
language detection logging or translation logging if something
goes wrong.

BUG= 728491 ,  722679 

Review-Url: https://codereview.chromium.org/2941953002
Cr-Commit-Position: refs/heads/master@{#481054}

[modify] https://crrev.com/106a571ac7652839571550ae6738086a4e787c31/chrome/browser/translate/chrome_translate_client.cc
[modify] https://crrev.com/106a571ac7652839571550ae6738086a4e787c31/chrome/browser/translate/chrome_translate_client_unittest.cc

Project Member

Comment 8 by bugdroid1@chromium.org, Jun 22 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/26d6e093ba10c2a922b4511c1e918c6cb399920c

commit 26d6e093ba10c2a922b4511c1e918c6cb399920c
Author: Renjie Liu <renjieliu@chromium.org>
Date: Thu Jun 22 23:49:36 2017

Refactoring for ios record language event.

I'm exposing a RecordLanguageDetection API in translate_client so
different platforms can handle record language detection uniformly.

Bug:  722679 
Change-Id: I6df293b7d7d6ef81ffd5f46cb0885a28bf4bef19
Reviewed-on: https://chromium-review.googlesource.com/523882
Reviewed-by: Rachel Blum <groby@chromium.org>
Reviewed-by: Eugene But <eugenebut@chromium.org>
Commit-Queue: Renjie Liu <renjieliu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#481723}
[modify] https://crrev.com/26d6e093ba10c2a922b4511c1e918c6cb399920c/chrome/browser/translate/chrome_translate_client.cc
[modify] https://crrev.com/26d6e093ba10c2a922b4511c1e918c6cb399920c/chrome/browser/translate/chrome_translate_client.h
[modify] https://crrev.com/26d6e093ba10c2a922b4511c1e918c6cb399920c/components/translate/core/browser/mock_translate_client.h
[modify] https://crrev.com/26d6e093ba10c2a922b4511c1e918c6cb399920c/components/translate/core/browser/translate_client.h
[modify] https://crrev.com/26d6e093ba10c2a922b4511c1e918c6cb399920c/components/translate/ios/browser/ios_translate_driver.mm
[modify] https://crrev.com/26d6e093ba10c2a922b4511c1e918c6cb399920c/ios/chrome/browser/translate/chrome_ios_translate_client.h
[modify] https://crrev.com/26d6e093ba10c2a922b4511c1e918c6cb399920c/ios/chrome/browser/translate/chrome_ios_translate_client.mm
[modify] https://crrev.com/26d6e093ba10c2a922b4511c1e918c6cb399920c/ios/web_view/internal/translate/web_view_translate_client.h
[modify] https://crrev.com/26d6e093ba10c2a922b4511c1e918c6cb399920c/ios/web_view/internal/translate/web_view_translate_client.mm

Project Member

Comment 10 by bugdroid1@chromium.org, Jul 6 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4a1c9af8a6715969608c575157685203742d777d

commit 4a1c9af8a6715969608c575157685203742d777d
Author: renjieliu <renjieliu@chromium.org>
Date: Thu Jul 06 00:29:21 2017

Implement ios language detection logging.

BUG= 722679 

Review-Url: https://codereview.chromium.org/2962783003
Cr-Commit-Position: refs/heads/master@{#484417}

[modify] https://crrev.com/4a1c9af8a6715969608c575157685203742d777d/ios/chrome/browser/translate/chrome_ios_translate_client.mm

Status: Fixed (was: Assigned)

Sign in to add a comment