handler_url_ = handler_url;
}
// The URL that will be used to handle MIME type requests.
- const std::string handler_url() const { return handler_url_; }
+ 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
class MimeTypesHandlerParser : public extensions::ManifestHandler {
public:
MimeTypesHandlerParser();
- virtual ~MimeTypesHandlerParser();
+ ~MimeTypesHandlerParser() override;
- virtual bool Parse(extensions::Extension* extension,
- base::string16* error) OVERRIDE;
+ bool Parse(extensions::Extension* extension, base::string16* error) override;
private:
- virtual const std::vector<std::string> Keys() const OVERRIDE;
+ const std::vector<std::string> Keys() const override;
};
#endif // CHROME_COMMON_EXTENSIONS_MANIFEST_HANDLERS_MIME_TYPES_HANDLER_H_