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

Unified Diff: chrome/common/extensions/mime_types_handler.h

Issue 263513004: Forward MIME types to BrowserPlugin when a viewer is specified. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review fixes Created 6 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
Index: chrome/common/extensions/mime_types_handler.h
diff --git a/chrome/common/extensions/mime_types_handler.h b/chrome/common/extensions/mime_types_handler.h
index 90c8f44a9060564979414a74d6f9a018401b78c5..34f586e025dee26bf4089f8007644be8e76ca1c2 100644
--- a/chrome/common/extensions/mime_types_handler.h
+++ b/chrome/common/extensions/mime_types_handler.h
@@ -41,6 +41,8 @@ class MimeTypesHandler {
// The URL that will be used to handle MIME type requests.
const std::string handler_url() const { return handler_url_; }
+ const std::set<std::string>& mime_type_set() const { return mime_type_set_; }
+
private:
// The id for the extension this action belongs to (as defined in the
// extension manifest).

Powered by Google App Engine
This is Rietveld 408576698