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

Issue 347019: Convert ReplaceStringPlaceholders(std::string...) to take a (Closed)

Created:
11 years, 1 month ago by tony
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Convert ReplaceStringPlaceholders(std::string...) to take a StringPiece as the format string instead. This allows us to save a string copy in the new tab page. Also clean up some code in the extensions process binding that was doing excess string conversions. BUG=26228 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30491

Patch Set 1 #

Patch Set 2 : a #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -20 lines) Patch
M app/l10n_util.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M base/string_util.h View 1 chunk +1 line, -1 line 0 comments Download
M base/string_util.cc View 2 chunks +8 lines, -10 lines 0 comments Download
M chrome/browser/dom_ui/dom_ui_theme_source.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/renderer/extensions/extension_process_bindings.cc View 3 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
tony
11 years, 1 month ago (2009-10-29 18:13:10 UTC) #1
Elliot Glaysher
11 years, 1 month ago (2009-10-29 18:15:49 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698