diff options
author | cmp@chromium.org <cmp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-25 23:37:02 +0000 |
---|---|---|
committer | cmp@chromium.org <cmp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-25 23:37:02 +0000 |
commit | 360faf72e827459c4881841ba361c9761847d370 (patch) | |
tree | d0bb430c8278a7adb086f2d63ab7042596a4cfde /ipc/ipc_message_macros.h | |
parent | 7a0153e04bcdf850cf1acbddef89862e5f5cffeb (diff) | |
download | chromium_src-360faf72e827459c4881841ba361c9761847d370.zip chromium_src-360faf72e827459c4881841ba361c9761847d370.tar.gz chromium_src-360faf72e827459c4881841ba361c9761847d370.tar.bz2 |
Import json by default, then simplejson.
Since json is included in Python 2.6 and above,
first try importing it, then import simplejson
if that fails.
Also ensure that any unicode characters are converted to
ASCII before checksumming to avoid checksum differences
in strings generated by json and simplejson modules.
TEST=make_expectations.py runs on Windows using the
stock Python in depot_tools
Review URL: http://codereview.chromium.org/6880187
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82946 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_message_macros.h')
0 files changed, 0 insertions, 0 deletions