diff --git a/atom/app/atom_content_client.cc b/atom/app/atom_content_client.cc index ff5dce323d..17effdfa07 100644 --- a/atom/app/atom_content_client.cc +++ b/atom/app/atom_content_client.cc @@ -268,4 +268,8 @@ void AtomContentClient::AddContentDecryptionModules( } } +bool AtomContentClient::IsDataResourceGzipped(int resource_id) const { + return ui::ResourceBundle::GetSharedInstance().IsGzipped(resource_id); +} + } // namespace atom diff --git a/atom/app/atom_content_client.h b/atom/app/atom_content_client.h index f7095f6ab0..9c7034df43 100644 --- a/atom/app/atom_content_client.h +++ b/atom/app/atom_content_client.h @@ -31,6 +31,7 @@ class AtomContentClient : public content::ContentClient { void AddContentDecryptionModules( std::vector* cdms, std::vector* cdm_host_file_paths) override; + bool IsDataResourceGzipped(int resource_id) const override; private: DISALLOW_COPY_AND_ASSIGN(AtomContentClient);