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

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

Issue 12473004: src/: Update the remaining include paths of string_split.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « net/base/mime_util.cc ('k') | net/base/mock_host_resolver.cc » ('j') | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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" 5 #include "base/basictypes.h"
6 #include "base/string_split.h" 6 #include "base/strings/string_split.h"
7 #include "base/utf_string_conversions.h" 7 #include "base/utf_string_conversions.h"
8 #include "net/base/mime_util.h" 8 #include "net/base/mime_util.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 namespace net { 11 namespace net {
12 12
13 TEST(MimeUtilTest, ExtensionTest) { 13 TEST(MimeUtilTest, ExtensionTest) {
14 const struct { 14 const struct {
15 const base::FilePath::CharType* extension; 15 const base::FilePath::CharType* extension;
16 const char* mime_type; 16 const char* mime_type;
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 EXPECT_EQ(CERTIFICATE_MIME_TYPE_UNKNOWN, 290 EXPECT_EQ(CERTIFICATE_MIME_TYPE_UNKNOWN,
291 GetCertificateMimeTypeForMimeType("application/x-x509-ca-cert")); 291 GetCertificateMimeTypeForMimeType("application/x-x509-ca-cert"));
292 EXPECT_EQ(CERTIFICATE_MIME_TYPE_UNKNOWN, 292 EXPECT_EQ(CERTIFICATE_MIME_TYPE_UNKNOWN,
293 GetCertificateMimeTypeForMimeType("application/x-pkcs12")); 293 GetCertificateMimeTypeForMimeType("application/x-pkcs12"));
294 #endif 294 #endif
295 EXPECT_EQ(CERTIFICATE_MIME_TYPE_UNKNOWN, 295 EXPECT_EQ(CERTIFICATE_MIME_TYPE_UNKNOWN,
296 GetCertificateMimeTypeForMimeType("text/plain")); 296 GetCertificateMimeTypeForMimeType("text/plain"));
297 } 297 }
298 298
299 } // namespace net 299 } // namespace net
OLDNEW
« no previous file with comments | « net/base/mime_util.cc ('k') | net/base/mock_host_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698