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

Issue 13230: Added std::string to Value via Set/GetString overloading. (Closed)

Created:
12 years ago by scherkus (not reviewing)
Modified:
9 years, 7 months ago
Reviewers:
tony, brettw, Peter Kasting
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Added std::string to Value via Set/GetString overloading. All input is converted to UTF-8. Output is converted back to wide during std::wstring version of GetString(). This is part one of some more patches to come where I switch clients over to UTF-8 strings.

Patch Set 1 #

Patch Set 2 : Removed media_format files (they're a different issue) #

Patch Set 3 : Updated change as per discussion on chromium-dev. #

Patch Set 4 : Use lazy UTF-8 to Wide conversion. #

Patch Set 5 : Updated to not use caching logic. #

Patch Set 6 : Fixes build break. #

Patch Set 7 : Final upload check. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -9 lines) Patch
M base/values.h View 1 2 3 4 5 6 chunks +12 lines, -3 lines 0 comments Download
M base/values.cc View 1 2 3 4 5 7 chunks +43 lines, -2 lines 0 comments Download
M base/values_unittest.cc View 1 2 3 4 chunks +44 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
scherkus (not reviewing)
Wasn't sure whether I should pick all of you as reviewers, or pick one and ...
12 years ago (2008-12-10 03:23:48 UTC) #1
scherkus (not reviewing)
Updated to only use UTF-8 strings.
12 years ago (2008-12-10 22:04:15 UTC) #2
brettw
12 years ago (2008-12-10 22:07:04 UTC) #3
Thanks! LGTM

Powered by Google App Engine
This is Rietveld 408576698