diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-04 22:05:04 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-04 22:05:04 +0000 |
commit | 0376e364459cc52fd417eeda5d071a012bb10ee7 (patch) | |
tree | 470f61a8620dc1922cca95a7bb56fcac7b518236 /tools/pragmaonce | |
parent | a7552342506985bc90b33ab54cb62df1bfb190a6 (diff) | |
download | chromium_src-0376e364459cc52fd417eeda5d071a012bb10ee7.zip chromium_src-0376e364459cc52fd417eeda5d071a012bb10ee7.tar.gz chromium_src-0376e364459cc52fd417eeda5d071a012bb10ee7.tar.bz2 |
Add DCHECK for misused string resources.
When replacing a placeholder in a localized string, make sure the correct number of placeholders were found (i.e. the same number of strings that the calling code passed).
BUG=none
TEST=running/testing the browser in debug doesn't cause errors
Review URL: http://codereview.chromium.org/3396025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61420 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/pragmaonce')
0 files changed, 0 insertions, 0 deletions