Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "content/common/mime_util.h" | |
| 6 | |
| 7 #include <string> | |
| 8 | |
| 9 #include "media/base/mime_util.h" | |
| 10 #include "net/base/mime_util.h" | |
| 11 | |
| 12 namespace content { | |
| 13 | |
| 14 bool IsSupportedMimeType(const std::string& mime_type) { | |
| 15 return net::IsSupportedMimeType(mime_type) || | |
|
darin (slow to review)
2014/07/24 17:52:53
the only concern I have is that it could be confus
Ryan Sleevi
2014/07/24 18:24:09
I do think it's weird to have the truth of mime ty
| |
| 16 media::IsSupportedMediaMimeType(mime_type); | |
| 17 } | |
| 18 | |
| 19 } | |
| OLD | NEW |