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

Issue 5796003: Refactor WordIterator into base::BreakIterator.... (Closed)

Created:
10 years ago by Tom Sepez
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Paweł Hajdan Jr., jshin+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Refactor WordIterator into base::BreakIterator. BUG=49747 TEST=BreakIteratorTest.*

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+310 lines, -308 lines) Patch
M base/base.gyp View 1 2 3 4 4 chunks +3 lines, -8 lines 0 comments Download
A base/i18n/break_iterator.h View 1 2 3 4 1 chunk +100 lines, -0 lines 0 comments Download
A base/i18n/break_iterator.cc View 1 2 3 4 1 chunk +76 lines, -0 lines 0 comments Download
A base/i18n/break_iterator_unittest.cc View 1 2 3 4 1 chunk +117 lines, -0 lines 0 comments Download
D base/i18n/word_iterator.h View 1 2 3 4 1 chunk +0 lines, -98 lines 0 comments Download
D base/i18n/word_iterator.cc View 1 2 3 4 1 chunk +0 lines, -71 lines 0 comments Download
D base/i18n/word_iterator_unittest.cc View 1 2 3 4 1 chunk +0 lines, -117 lines 0 comments Download
M chrome/browser/autocomplete/history_quick_provider.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/history/in_memory_url_index.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/history/query_parser.cc View 1 2 3 4 5 chunks +5 lines, -5 lines 0 comments Download
M views/view_text_utils.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Tom Sepez
Latest round of my word_iterator project.
10 years ago (2010-12-13 20:05:46 UTC) #1
Evan Martin
LGTM http://codereview.chromium.org/5796003/diff/1/base/i18n/break_iterator.h File base/i18n/break_iterator.h (right): http://codereview.chromium.org/5796003/diff/1/base/i18n/break_iterator.h#newcode39 base/i18n/break_iterator.h:39: namespace base { // Prevent conflict with ICU ...
10 years ago (2010-12-13 20:26:04 UTC) #2
Tom Sepez
Interesting question. IsWord() has meaning only for the word iterator, since the underlying function that ...
10 years ago (2010-12-13 21:13:58 UTC) #3
Evan Martin
On 2010/12/13 21:13:58, Tom Sepez wrote: > Interesting question. IsWord() has meaning only for the ...
10 years ago (2010-12-13 21:27:07 UTC) #4
Tom Sepez
Also renamed the increasingly inaccurately named GetWord() method.
10 years ago (2010-12-13 22:05:06 UTC) #5
Tom Sepez
10 years ago (2010-12-13 22:07:14 UTC) #6
Evan Martin
10 years ago (2010-12-13 22:17:49 UTC) #7
LGTM

Powered by Google App Engine
This is Rietveld 408576698