| Index: ui/base/resource/resource_bundle.h
|
| diff --git a/ui/base/resource/resource_bundle.h b/ui/base/resource/resource_bundle.h
|
| index d0401d991f1c13c3c506c31a1488bcb34977c4d8..47112f664940589ffec2b43c92d05018735a342f 100644
|
| --- a/ui/base/resource/resource_bundle.h
|
| +++ b/ui/base/resource/resource_bundle.h
|
| @@ -151,6 +151,11 @@ class UI_BASE_EXPORT ResourceBundle {
|
| // Return the global resource loader instance.
|
| static ResourceBundle& GetSharedInstance();
|
|
|
| + // Loads a secondary locale data pack using the given file region.
|
| + void LoadSecondaryLocaleDataWithPakFileRegion(
|
| + base::File pak_file,
|
| + const base::MemoryMappedFile::Region& region);
|
| +
|
| // Check if the .pak for the given locale exists.
|
| bool LocaleDataPakExists(const std::string& locale);
|
|
|
| @@ -399,6 +404,7 @@ class UI_BASE_EXPORT ResourceBundle {
|
|
|
| // Handles for data sources.
|
| std::unique_ptr<ResourceHandle> locale_resources_data_;
|
| + std::unique_ptr<ResourceHandle> secondary_locale_resources_data_;
|
| std::vector<std::unique_ptr<ResourceHandle>> data_packs_;
|
|
|
| // The maximum scale factor currently loaded.
|
|
|