| Index: ui/base/resource/resource_bundle_android.h
|
| diff --git a/ui/base/resource/resource_bundle_android.h b/ui/base/resource/resource_bundle_android.h
|
| index d1400f8972150135f8fa03af66692ca567b60d3c..8708f734a60cc78a7d3c659be7c4e2d694169338 100644
|
| --- a/ui/base/resource/resource_bundle_android.h
|
| +++ b/ui/base/resource/resource_bundle_android.h
|
| @@ -5,10 +5,26 @@
|
| #ifndef UI_BASE_RESOURCE_RESOURCE_BUNDLE_ANDROID_H_
|
| #define UI_BASE_RESOURCE_RESOURCE_BUNDLE_ANDROID_H_
|
|
|
| +#include <jni.h>
|
| +#include <string>
|
| +
|
| #include "base/basictypes.h"
|
| +#include "base/files/memory_mapped_file.h"
|
| +#include "ui/base/ui_base_export.h"
|
|
|
| namespace ui {
|
|
|
| +// Loads "resources.apk" from the .apk.
|
| +UI_BASE_EXPORT void LoadMainAndroidPackFile();
|
| +
|
| +// Returns the file descriptor and region for resources.pak.
|
| +UI_BASE_EXPORT int GetMainAndroidPackFd(
|
| + base::MemoryMappedFile::Region* out_region);
|
| +
|
| +// Returns the file descriptor and region for chrome_100_percent.pak
|
| +UI_BASE_EXPORT int GetCommonResourcesPackFd(
|
| + base::MemoryMappedFile::Region* out_region);
|
| +
|
| // Checks whether the locale data pak is contained within the .apk.
|
| bool AssetContainedInApk(const std::string& filename);
|
|
|
| @@ -17,4 +33,3 @@ bool RegisterResourceBundleAndroid(JNIEnv* env);
|
| } // namespace ui
|
|
|
| #endif // UI_BASE_RESOURCE_RESOURCE_BUNDLE_ANDROID_H_
|
| -
|
|
|