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

Unified Diff: chrome/common/extensions/manifest_handlers/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: Fix unittests Created 6 years, 6 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/manifest_handlers/mime_types_handler.h
diff --git a/chrome/common/extensions/manifest_handlers/mime_types_handler.h b/chrome/common/extensions/manifest_handlers/mime_types_handler.h
index 84e049f9d7c1c5a2a0f2942c0832fe55208e7453..0ee47ccbe3fe5985a51dfed56a7a943094b82210 100644
--- a/chrome/common/extensions/manifest_handlers/mime_types_handler.h
+++ b/chrome/common/extensions/manifest_handlers/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).
« no previous file with comments | « chrome/common/extensions/api/streams_private.idl ('k') | content/browser/loader/buffered_resource_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698