| Index: chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc
|
| diff --git a/chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc b/chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc
|
| index 5e615ea2b36be0db7b3c30c50933cf61f3086da3..fd6a0a9450f3f59e5f8f7be20d444e5ba6cec364 100644
|
| --- a/chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc
|
| +++ b/chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.cc
|
| @@ -183,15 +183,12 @@ void RemoteDataSource::OnURLFetchComplete(const net::URLFetcher* source) {
|
| content::WebUIDataSource* CreateVrShellUIHTMLSource() {
|
| content::WebUIDataSource* source =
|
| content::WebUIDataSource::Create(chrome::kChromeUIVrShellUIHost);
|
| + source->UseGzip(std::unordered_set<std::string>() /* excluded_paths */);
|
| source->AddResourcePath("vr_shell_ui.css", IDR_VR_SHELL_UI_CSS);
|
| source->AddResourcePath("vr_shell_ui.js", IDR_VR_SHELL_UI_JS);
|
| source->AddResourcePath("vr_shell_ui_api.js", IDR_VR_SHELL_UI_API_JS);
|
| source->AddResourcePath("vr_shell_ui_scene.js", IDR_VR_SHELL_UI_SCENE_JS);
|
| source->SetDefaultResource(IDR_VR_SHELL_UI_HTML);
|
| - // We're localizing strings, so we can't currently use gzip since it's
|
| - // incompatible with i18n. TODO(klausw): re-enable gzip once an i18n
|
| - // compatible variant of WebUIDataSource's UseGzip gets added, and add
|
| - // compress=gzip to browser_resources.grd as appropriate.
|
| source->AddLocalizedString(
|
| "insecureWebVrContentPermanent",
|
| IDS_WEBSITE_SETTINGS_INSECURE_WEBVR_CONTENT_PERMANENT);
|
|
|