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

Unified Diff: net/base/mime_util.h

Issue 9969061: Changed TestShellWebMimeRegistryImpl to blacklist rather than whitelist containers and codecs. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Moved blacklist lists to mime_util. Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/base/mime_util.cc » ('j') | net/base/mime_util.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/mime_util.h
diff --git a/net/base/mime_util.h b/net/base/mime_util.h
index adff5181f399b2af4dccb056290f2a8f893dabeb..70228bad633cb483f9165e5ecb897fdab0fc14e8 100644
--- a/net/base/mime_util.h
+++ b/net/base/mime_util.h
@@ -110,6 +110,13 @@ NET_EXPORT void GetExtensionsForMimeType(
const std::string& mime_type,
std::vector<FilePath::StringType>* extensions);
+// Test only methods that return lists of proprietary media types and codecs
+// that are not supported by all variations of Chromium.
+// These types and codecs must be blacklisted to ensure consistent layout test
+// results across all Chromium variations.
+NET_EXPORT std::vector<std::string> GetProprietaryMediaTypes();
scherkus (not reviewing) 2012/04/10 21:22:17 can we pass in a std::vector<std::string> pointer
ddorwin 2012/04/11 19:14:20 Done.
+NET_EXPORT std::vector<std::string> GetProprietaryMediaCodecs();
+
} // namespace net
#endif // NET_BASE_MIME_UTIL_H__
« no previous file with comments | « no previous file | net/base/mime_util.cc » ('j') | net/base/mime_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698