| Index: content/public/browser/web_ui_data_source.h
|
| diff --git a/content/public/browser/web_ui_data_source.h b/content/public/browser/web_ui_data_source.h
|
| index bf2db3b3139b69adbdbd4adb49e1a82a80a6a3b1..228245ac6ea1495af6acc137983cd332e1bde005 100644
|
| --- a/content/public/browser/web_ui_data_source.h
|
| +++ b/content/public/browser/web_ui_data_source.h
|
| @@ -8,6 +8,8 @@
|
| #include <stdint.h>
|
|
|
| #include <memory>
|
| +#include <string>
|
| +#include <unordered_set>
|
|
|
| #include "base/callback.h"
|
| #include "base/strings/string16.h"
|
| @@ -105,9 +107,10 @@ class WebUIDataSource {
|
| const std::string& data) = 0;
|
| virtual void DisableDenyXFrameOptions() = 0;
|
|
|
| - // Tells the loading code that resources are gzipped on disk. TODO(dbeam):
|
| - // write a streaming $i18n{} replacer and remove the "DisableI18n" part.
|
| - virtual void DisableI18nAndUseGzipForAllPaths() = 0;
|
| + // Tells the loading code that resources are gzipped on disk. |excluded_paths|
|
| + // are uncompressed paths, and therefore should not be decompressed.
|
| + virtual void UseGzip(const std::unordered_set<std::string>& excluded_paths)
|
| + = 0;
|
| };
|
|
|
| } // namespace content
|
|
|