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

Side by Side Diff: components/mime_util/mime_util.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 12 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/mime_util/mime_util.h" 5 #include "components/mime_util/mime_util.h"
6 6
7 #include <stddef.h>
8
7 #include "base/containers/hash_tables.h" 9 #include "base/containers/hash_tables.h"
8 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/macros.h"
9 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
10 #include "build/build_config.h" 13 #include "build/build_config.h"
11 14
12 #if !defined(OS_IOS) 15 #if !defined(OS_IOS)
13 // iOS doesn't use and must not depend on //media 16 // iOS doesn't use and must not depend on //media
14 #include "media/base/mime_util.h" 17 #include "media/base/mime_util.h"
15 #endif 18 #endif
16 19
17 namespace mime_util { 20 namespace mime_util {
18 21
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 if (base::EqualsCaseInsensitiveASCII( 228 if (base::EqualsCaseInsensitiveASCII(
226 mime_type, kSupportedCertificateTypes[i].mime_type)) { 229 mime_type, kSupportedCertificateTypes[i].mime_type)) {
227 return kSupportedCertificateTypes[i].cert_type; 230 return kSupportedCertificateTypes[i].cert_type;
228 } 231 }
229 } 232 }
230 233
231 return net::CERTIFICATE_MIME_TYPE_UNKNOWN; 234 return net::CERTIFICATE_MIME_TYPE_UNKNOWN;
232 } 235 }
233 236
234 } // namespace mime_util 237 } // namespace mime_util
OLDNEW
« no previous file with comments | « components/metrics_services_manager/metrics_services_manager_client.h ('k') | components/mus/android_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698