diff options
| author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 04:00:57 +0000 |
|---|---|---|
| committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-17 04:00:57 +0000 |
| commit | a65175d452e6cb3c9c3599ab4206c42b8ab78bfd (patch) | |
| tree | ae69bde6df9080e4e367c23bba9096a1bf302c60 /chrome/browser/autocomplete/autocomplete.cc | |
| parent | d9e0c26a9c2850d42c4de6b2f981a8da56497c2c (diff) | |
| download | chromium_src-a65175d452e6cb3c9c3599ab4206c42b8ab78bfd.zip chromium_src-a65175d452e6cb3c9c3599ab4206c42b8ab78bfd.tar.gz chromium_src-a65175d452e6cb3c9c3599ab4206c42b8ab78bfd.tar.bz2 | |
Remove deprecated wstring DictionaryValue Get{Boolean,Integer,Real,Binary,Dictionary,List}().
BUG=23581
TEST=builds and passes tests
Review URL: http://codereview.chromium.org/3187004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56302 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete.cc')
| -rw-r--r-- | chrome/browser/autocomplete/autocomplete.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete/autocomplete.cc b/chrome/browser/autocomplete/autocomplete.cc index 84d485b..9a2508b 100644 --- a/chrome/browser/autocomplete/autocomplete.cc +++ b/chrome/browser/autocomplete/autocomplete.cc @@ -12,6 +12,7 @@ #include "base/i18n/number_formatting.h" #include "base/string_number_conversions.h" #include "base/string_util.h" +#include "base/utf_string_conversions.h" #include "chrome/browser/autocomplete/history_quick_provider.h" #include "chrome/browser/autocomplete/history_url_provider.h" #include "chrome/browser/autocomplete/history_contents_provider.h" @@ -157,7 +158,8 @@ AutocompleteInput::Type AutocompleteInput::Parse( // a URL before. We need to do this last because some schemes may be in // here as "blocked" (e.g. "javascript") because we don't want pages to open // them, but users still can. - switch (ExternalProtocolHandler::GetBlockState(parsed_scheme)) { + // TODO(viettrungluu): get rid of conversion. + switch (ExternalProtocolHandler::GetBlockState(WideToUTF8(parsed_scheme))) { case ExternalProtocolHandler::DONT_BLOCK: return URL; |
