diff options
author | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-19 17:52:18 +0000 |
---|---|---|
committer | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-19 17:52:18 +0000 |
commit | e0edf60e2782fe410c6431481621b4a33d75e4e4 (patch) | |
tree | 210e0a6e932d32ef572ca0d33e2c53ec08683be0 /net/base/mime_util_unittest.cc | |
parent | d9b4adee1e4400fc7eeb13c4658c3596950ae551 (diff) | |
download | chromium_src-e0edf60e2782fe410c6431481621b4a33d75e4e4.zip chromium_src-e0edf60e2782fe410c6431481621b4a33d75e4e4.tar.gz chromium_src-e0edf60e2782fe410c6431481621b4a33d75e4e4.tar.bz2 |
Add mime_util and http_chunked_decoder to mac project.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1041 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/mime_util_unittest.cc')
-rw-r--r-- | net/base/mime_util_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/mime_util_unittest.cc b/net/base/mime_util_unittest.cc index 548601a..4d2f53d 100644 --- a/net/base/mime_util_unittest.cc +++ b/net/base/mime_util_unittest.cc @@ -52,7 +52,7 @@ TEST(MimeUtilTest, ExtensionTest) { std::string mime_type; bool rv; - for (size_t i = 0; i < arraysize(tests); ++i) { + for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { rv = net::GetMimeTypeFromExtension(tests[i].extension, &mime_type); EXPECT_EQ(rv, tests[i].valid); if (rv) @@ -77,7 +77,7 @@ TEST(MimeUtilTest, FileTest) { std::string mime_type; bool rv; - for (size_t i = 0; i < arraysize(tests); ++i) { + for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { rv = net::GetMimeTypeFromFile(tests[i].file_path, &mime_type); EXPECT_EQ(rv, tests[i].valid); if (rv) |