Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / common / extensions / manifest_handlers / mime_types_handler.h
index 84e049f..7933ce5 100644 (file)
@@ -39,7 +39,9 @@ class MimeTypesHandler {
     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
@@ -55,13 +57,12 @@ class MimeTypesHandler {
 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_