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

Issue 2912843003: Refactoring ConstructLanguageDetectionEvent. (Closed)

Created:
3 years, 6 months ago by renjieliu1
Modified:
3 years, 6 months ago
CC:
blundell+watchlist_chromium.org, chromium-reviews, droger+watchlist_chromium.org, sdefresne+watchlist_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactoring ConstructLanguageDetectionEvent. Refactoring the code so it can also be used by the iOS client. Also add a unit test. BUG=722679 Review-Url: https://codereview.chromium.org/2912843003 Cr-Commit-Position: refs/heads/master@{#476135} Committed: https://chromium.googlesource.com/chromium/src/+/f1e6a615e165c9ad4e33b4f50dd23e9ee9fab5be

Patch Set 1 #

Total comments: 6

Patch Set 2 : updates #

Total comments: 6

Patch Set 3 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -23 lines) Patch
M chrome/browser/translate/chrome_translate_client.cc View 3 chunks +2 lines, -23 lines 0 comments Download
M components/translate/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M components/translate/core/common/BUILD.gn View 3 chunks +5 lines, -0 lines 0 comments Download
A components/translate/core/common/language_detection_logging_helper.h View 1 chunk +23 lines, -0 lines 0 comments Download
A components/translate/core/common/language_detection_logging_helper.cc View 1 chunk +36 lines, -0 lines 0 comments Download
A components/translate/core/common/language_detection_logging_helper_unittest.cc View 1 2 1 chunk +51 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (14 generated)
renjieliu1
3 years, 6 months ago (2017-05-30 23:57:12 UTC) #7
renjieliu1
3 years, 6 months ago (2017-05-30 23:57:52 UTC) #9
napper
https://codereview.chromium.org/2912843003/diff/1/components/translate/core/common/language_detection_logging_helper_unittest.cc File components/translate/core/common/language_detection_logging_helper_unittest.cc (right): https://codereview.chromium.org/2912843003/diff/1/components/translate/core/common/language_detection_logging_helper_unittest.cc#newcode16 components/translate/core/common/language_detection_logging_helper_unittest.cc:16: TEST_F(LanguageDetectionLoggingHelperTest, ConstructUserEventSpecifics) { Why not just use TEST()? https://codereview.chromium.org/2912843003/diff/1/components/translate/core/common/language_detection_logging_helper_unittest.cc#newcode27 ...
3 years, 6 months ago (2017-05-31 05:00:06 UTC) #10
renjieliu1
https://codereview.chromium.org/2912843003/diff/1/components/translate/core/common/language_detection_logging_helper_unittest.cc File components/translate/core/common/language_detection_logging_helper_unittest.cc (right): https://codereview.chromium.org/2912843003/diff/1/components/translate/core/common/language_detection_logging_helper_unittest.cc#newcode16 components/translate/core/common/language_detection_logging_helper_unittest.cc:16: TEST_F(LanguageDetectionLoggingHelperTest, ConstructUserEventSpecifics) { On 2017/05/31 05:00:06, napper wrote: > ...
3 years, 6 months ago (2017-05-31 05:12:00 UTC) #11
napper
https://codereview.chromium.org/2912843003/diff/20001/components/translate/core/common/language_detection_logging_helper_unittest.cc File components/translate/core/common/language_detection_logging_helper_unittest.cc (right): https://codereview.chromium.org/2912843003/diff/20001/components/translate/core/common/language_detection_logging_helper_unittest.cc#newcode13 components/translate/core/common/language_detection_logging_helper_unittest.cc:13: typedef testing::Test LanguageDetectionLoggingHelperTest; I don't think you need this ...
3 years, 6 months ago (2017-05-31 06:53:08 UTC) #12
renjieliu1
https://codereview.chromium.org/2912843003/diff/20001/components/translate/core/common/language_detection_logging_helper_unittest.cc File components/translate/core/common/language_detection_logging_helper_unittest.cc (right): https://codereview.chromium.org/2912843003/diff/20001/components/translate/core/common/language_detection_logging_helper_unittest.cc#newcode13 components/translate/core/common/language_detection_logging_helper_unittest.cc:13: typedef testing::Test LanguageDetectionLoggingHelperTest; On 2017/05/31 06:53:08, napper wrote: > ...
3 years, 6 months ago (2017-05-31 07:02:07 UTC) #13
napper
lgtm
3 years, 6 months ago (2017-05-31 07:06:24 UTC) #14
renjieliu1
Hi Rachel, I'm refactoring the ConstructLanguageDetectionEvent so the code can be shared with iOS client ...
3 years, 6 months ago (2017-05-31 07:08:53 UTC) #16
groby-ooo-7-16
RS LGTM
3 years, 6 months ago (2017-05-31 20:01:46 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/2912843003/40001
3 years, 6 months ago (2017-05-31 23:43:55 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/452662)
3 years, 6 months ago (2017-05-31 23:54:15 UTC) #21
renjieliu1
Hi Sky, Can you take a quick review on the cl as this cl adds ...
3 years, 6 months ago (2017-05-31 23:57:44 UTC) #23
skym
lgtm
3 years, 6 months ago (2017-06-01 00:00:10 UTC) #24
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/2912843003/40001
3 years, 6 months ago (2017-06-01 00:03:57 UTC) #26
commit-bot: I haz the power
3 years, 6 months ago (2017-06-01 01:36:11 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/f1e6a615e165c9ad4e33b4f50dd2...

Powered by Google App Engine
This is Rietveld 408576698