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

Side by Side Diff: net/base/mime_sniffer_unittest.cc

Issue 1151353005: Use the exact-width integer types defined in <stdint.h> rather than (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/base/mime_sniffer_perftest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/basictypes.h"
6 #include "net/base/mime_sniffer.h" 5 #include "net/base/mime_sniffer.h"
6
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 #include "url/gurl.h" 8 #include "url/gurl.h"
9 9
10 namespace net { 10 namespace net {
11 namespace { 11 namespace {
12 12
13 using ::testing::Range; 13 using ::testing::Range;
14 using ::testing::Values; 14 using ::testing::Values;
15 using ::net::SniffMimeType; // It is shadowed by SniffMimeType(), below. 15 using ::net::SniffMimeType; // It is shadowed by SniffMimeType(), below.
16 16
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 545
546 INSTANTIATE_TEST_CASE_P(MimeSnifferControlCodesEdgeCaseTest, 546 INSTANTIATE_TEST_CASE_P(MimeSnifferControlCodesEdgeCaseTest,
547 MimeSnifferControlCodesEdgeCaseTest, 547 MimeSnifferControlCodesEdgeCaseTest,
548 Values("\x01__", // first byte is binary 548 Values("\x01__", // first byte is binary
549 "__\x03", // last byte is binary 549 "__\x03", // last byte is binary
550 "_\x02_" // a byte in the middle is binary 550 "_\x02_" // a byte in the middle is binary
551 )); 551 ));
552 552
553 } // namespace 553 } // namespace
554 } // namespace net 554 } // namespace net
OLDNEW
« no previous file with comments | « net/base/mime_sniffer_perftest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698