summaryrefslogtreecommitdiffstats
path: root/net/http/http_auth_handler_basic_unittest.cc
diff options
context:
space:
mode:
authoryutak@chromium.org <yutak@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-27 19:02:01 +0000
committeryutak@chromium.org <yutak@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-27 19:02:01 +0000
commitf871ee159f586c8593bcfb947a625b1056e6427d (patch)
tree7985067348bd28ce3ed530a1cbb473b80a7defde /net/http/http_auth_handler_basic_unittest.cc
parent36b967f39fcb6f6512f139a93825bb1d9251779c (diff)
downloadchromium_src-f871ee159f586c8593bcfb947a625b1056e6427d.zip
chromium_src-f871ee159f586c8593bcfb947a625b1056e6427d.tar.gz
chromium_src-f871ee159f586c8593bcfb947a625b1056e6427d.tar.bz2
Give MockRead and MockWrite distinct types.
Currently, MockRead and MockWrite are defined as the same type by using typedef. However, these types are different types and should not be used interchangably. This change gives MockRead and MockWrite distinct types by using templates so the compiler can cause an error when these types are used interchangably. Some misuses of MockRead and MockWrite were found, so these are fixed in this change, too. BUG=none R=mmenke@chromium.org,akalin@chromium.org Review URL: https://chromiumcodereview.appspot.com/10796085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148782 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_handler_basic_unittest.cc')
0 files changed, 0 insertions, 0 deletions