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

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

Issue 2105553009: Remove declaration of GetCertificateMimeTypeForMimeType. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix includes Created 4 years, 5 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 | « components/mime_util/mime_util.h ('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 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> 7 #include <stddef.h>
8 8
9 #include "base/containers/hash_tables.h" 9 #include "base/containers/hash_tables.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/strings/string_util.h" 12 #include "base/strings/string_util.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "net/base/mime_util.h"
14 15
15 #if !defined(OS_IOS) 16 #if !defined(OS_IOS)
16 // iOS doesn't use and must not depend on //media 17 // iOS doesn't use and must not depend on //media
17 #include "media/base/mime_util.h" 18 #include "media/base/mime_util.h"
18 #endif 19 #endif
19 20
20 namespace mime_util { 21 namespace mime_util {
21 22
22 namespace { 23 namespace {
23 24
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 193
193 bool IsSupportedJavascriptMimeType(const std::string& mime_type) { 194 bool IsSupportedJavascriptMimeType(const std::string& mime_type) {
194 return g_mime_util.Get().IsSupportedJavascriptMimeType(mime_type); 195 return g_mime_util.Get().IsSupportedJavascriptMimeType(mime_type);
195 } 196 }
196 197
197 bool IsSupportedMimeType(const std::string& mime_type) { 198 bool IsSupportedMimeType(const std::string& mime_type) {
198 return g_mime_util.Get().IsSupportedMimeType(mime_type); 199 return g_mime_util.Get().IsSupportedMimeType(mime_type);
199 } 200 }
200 201
201 } // namespace mime_util 202 } // namespace mime_util
OLDNEW
« no previous file with comments | « components/mime_util/mime_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698