summaryrefslogtreecommitdiffstats
path: root/base/i18n/string_search.cc
Commit message (Collapse)AuthorAgeFilesLines
* base::i18n::StringSearch...() returns match index and lengthderat@chromium.org2012-09-091-9/+41
| | | | | | | | | | | | | | Update base::i18n::StringSearchIgnoringCaseAndAccents() to take additional out-params for the index and length of the matched text. BUG=none TEST=none Review URL: https://chromiumcodereview.appspot.com/10910116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155629 0039d316-1c4b-4281-b951-d872f2087c98
* Change i18n icu header inclusions to not use system header syntax. asvitkine@chromium.org2011-10-141-2/+2
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/8274003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105437 0039d316-1c4b-4281-b951-d872f2087c98
* Base/Valgrind: Close the UStringSearch.jhawkins@chromium.org2011-09-191-2/+3
| | | | | | | | | | | | Fixes a leak. Also cleaned up a bit while I'm here. TBR=benjhayden,xji,rdsmith BUG=none TEST=Valgrind Review URL: http://codereview.chromium.org/7944007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101773 0039d316-1c4b-4281-b951-d872f2087c98
* Searching for downloads currently does a plain substring search, which does notvanlam@google.com2011-09-161-0/+45
take into account different Unicode representations of characters. Used ICU API to handle this. BUG=chromium:71982 TEST=Check that MatchesQuery uses substring search taking into account Unicode normalization at primary level. Review URL: http://codereview.chromium.org/7782009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101548 0039d316-1c4b-4281-b951-d872f2087c98