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

Issue 266883010: Refactor code to avoid direct dependency upon ICU: phishing_term_feature_extractor (Closed)

Created:
6 years, 7 months ago by Andrew Hayden (chromium.org)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, jshin+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Refactor code to avoid direct dependency upon ICU: phishing_term_feature_extractor BUG=367677 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269936

Patch Set 1 #

Total comments: 6

Patch Set 2 : Fixups requested by reviewer, plus scoped_ptr #

Patch Set 3 : Rebase onto latest master #

Patch Set 4 : Rebase #

Total comments: 4

Patch Set 5 : Remove unused "isValid" #

Patch Set 6 : Remove unused destructor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -44 lines) Patch
M chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc View 1 2 3 4 5 5 chunks +18 lines, -44 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Andrew Hayden (chromium.org)
+mattm for the phishing code, +jshin for the trivial .h change to break_iterator.h
6 years, 7 months ago (2014-05-06 13:52:36 UTC) #1
mattm
https://codereview.chromium.org/266883010/diff/1/chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc File chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc (right): https://codereview.chromium.org/266883010/diff/1/chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc#newcode54 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc:54: base::i18n::BreakIterator* iterator; scoped_ptr https://codereview.chromium.org/266883010/diff/1/chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc#newcode152 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc:152: if (!state_->iterator->IsValid()) { Looks ...
6 years, 7 months ago (2014-05-07 00:37:03 UTC) #2
Andrew Hayden (chromium.org)
I'll also use scoped_ptr, as suggested in https://codereview.chromium.org/270203003 https://codereview.chromium.org/266883010/diff/1/chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc File chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc (right): https://codereview.chromium.org/266883010/diff/1/chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc#newcode54 chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc:54: base::i18n::BreakIterator* ...
6 years, 7 months ago (2014-05-07 15:31:58 UTC) #3
Andrew Hayden (chromium.org)
PTAL, this patchset should address your concerns and also adds the use of scoped_ptr for ...
6 years, 7 months ago (2014-05-07 15:32:28 UTC) #4
Andrew Hayden (chromium.org)
Hey folks, can you take another look? I believe this is ready to land! Thanks!
6 years, 7 months ago (2014-05-09 15:45:30 UTC) #5
mattm
sorry for the delay lgtm with nits https://codereview.chromium.org/266883010/diff/60001/base/i18n/break_iterator.h File base/i18n/break_iterator.h (right): https://codereview.chromium.org/266883010/diff/60001/base/i18n/break_iterator.h#newcode112 base/i18n/break_iterator.h:112: } This ...
6 years, 7 months ago (2014-05-09 23:07:11 UTC) #6
Andrew Hayden (chromium.org)
https://codereview.chromium.org/266883010/diff/60001/base/i18n/break_iterator.h File base/i18n/break_iterator.h (right): https://codereview.chromium.org/266883010/diff/60001/base/i18n/break_iterator.h#newcode112 base/i18n/break_iterator.h:112: } On 2014/05/09 23:07:12, mattm wrote: > This change ...
6 years, 7 months ago (2014-05-12 13:07:36 UTC) #7
mattm
lgtm
6 years, 7 months ago (2014-05-12 20:18:10 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andrewhayden@chromium.org/266883010/100001
6 years, 7 months ago (2014-05-12 20:18:34 UTC) #9
Andrew Hayden (chromium.org)
On 2014/05/12 20:18:10, mattm wrote: > lgtm Thanks!
6 years, 7 months ago (2014-05-12 20:47:30 UTC) #10
commit-bot: I haz the power
6 years, 7 months ago (2014-05-13 00:22:11 UTC) #11
Message was sent while issue was closed.
Change committed as 269936

Powered by Google App Engine
This is Rietveld 408576698