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

Unified Diff: third_party/WebKit/Source/platform/MIMETypeRegistry.h

Issue 1501393003: Deprecate fetching stylesheets with unsupported type (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 11 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
Index: third_party/WebKit/Source/platform/MIMETypeRegistry.h
diff --git a/third_party/WebKit/Source/platform/MIMETypeRegistry.h b/third_party/WebKit/Source/platform/MIMETypeRegistry.h
index 3c8220710036137bd26849ac6551d039117f2717..135a5c20b0079bd0b71874bfba483705ab49dc9e 100644
--- a/third_party/WebKit/Source/platform/MIMETypeRegistry.h
+++ b/third_party/WebKit/Source/platform/MIMETypeRegistry.h
@@ -69,6 +69,9 @@ public:
// Check to see if a mime type is a valid Java applet mime type
static bool isJavaAppletMIMEType(const String& mimeType);
+
+ // Check to see if a mime type is suitable for being loaded as a stylesheet.
+ static bool isSupportedStyleSheetMIMEType(const String& mimeType);
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLLinkElement.cpp ('k') | third_party/WebKit/Source/platform/MIMETypeRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698