| Index: chrome/browser/component_updater/pepper_flash_component_installer.cc
|
| diff --git a/chrome/browser/component_updater/pepper_flash_component_installer.cc b/chrome/browser/component_updater/pepper_flash_component_installer.cc
|
| index 41d146a119e0689cefcfd3bbffe0b03e466451f7..31f4db3380a419b506425510eef86e8f93d3055f 100644
|
| --- a/chrome/browser/component_updater/pepper_flash_component_installer.cc
|
| +++ b/chrome/browser/component_updater/pepper_flash_component_installer.cc
|
| @@ -187,6 +187,7 @@ class FlashComponentInstallerTraits : public ComponentInstallerTraits {
|
| void GetHash(std::vector<uint8_t>* hash) const override;
|
| std::string GetName() const override;
|
| update_client::InstallerAttributes GetInstallerAttributes() const override;
|
| + void AddMimeTypes(std::vector<std::string>* mime_types) const override;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(FlashComponentInstallerTraits);
|
| };
|
| @@ -260,6 +261,12 @@ update_client::InstallerAttributes
|
| FlashComponentInstallerTraits::GetInstallerAttributes() const {
|
| return update_client::InstallerAttributes();
|
| }
|
| +
|
| +void FlashComponentInstallerTraits::AddMimeTypes(
|
| + std::vector<std::string>* mime_types) const {
|
| + mime_types->push_back("application/x-shockwave-flash");
|
| + mime_types->push_back("application/futuresplash");
|
| +}
|
| #endif // defined(GOOGLE_CHROME_BUILD)
|
|
|
| } // namespace
|
|
|