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

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

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 | « no previous file | components/mime_util/mime_util.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 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 #ifndef COMPONENTS_MIME_UTIL_MIME_UTIL_H__ 5 #ifndef COMPONENTS_MIME_UTIL_MIME_UTIL_H__
6 #define COMPONENTS_MIME_UTIL_MIME_UTIL_H__ 6 #define COMPONENTS_MIME_UTIL_MIME_UTIL_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "net/base/mime_util.h"
11
12 namespace mime_util { 10 namespace mime_util {
13 11
14 // Check to see if a particular MIME type is in the list of 12 // Check to see if a particular MIME type is in the list of
15 // supported/recognized MIME types. 13 // supported/recognized MIME types.
16 bool IsSupportedImageMimeType(const std::string& mime_type); 14 bool IsSupportedImageMimeType(const std::string& mime_type);
17 bool IsSupportedNonImageMimeType(const std::string& mime_type); 15 bool IsSupportedNonImageMimeType(const std::string& mime_type);
18 bool IsUnsupportedTextMimeType(const std::string& mime_type); 16 bool IsUnsupportedTextMimeType(const std::string& mime_type);
19 bool IsSupportedJavascriptMimeType(const std::string& mime_type); 17 bool IsSupportedJavascriptMimeType(const std::string& mime_type);
20 18
21 // Convenience function. 19 // Convenience function.
22 bool IsSupportedMimeType(const std::string& mime_type); 20 bool IsSupportedMimeType(const std::string& mime_type);
23 21
24 net::CertificateMimeType GetCertificateMimeTypeForMimeType(
25 const std::string& mime_type);
26
27 } // namespace mime_util 22 } // namespace mime_util
28 23
29 #endif // COMPONENTS_MIME_UTIL_MIME_UTIL_H__ 24 #endif // COMPONENTS_MIME_UTIL_MIME_UTIL_H__
OLDNEW
« no previous file with comments | « no previous file | components/mime_util/mime_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698