summaryrefslogtreecommitdiffstats
path: root/android_webview/native/aw_assets.h
diff options
context:
space:
mode:
Diffstat (limited to 'android_webview/native/aw_assets.h')
-rw-r--r--android_webview/native/aw_assets.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/android_webview/native/aw_assets.h b/android_webview/native/aw_assets.h
index 229392c..16fcafb 100644
--- a/android_webview/native/aw_assets.h
+++ b/android_webview/native/aw_assets.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/android/jni_android.h"
+#include "base/posix/global_descriptors.h"
namespace android_webview {
namespace AwAssets {
@@ -23,6 +24,9 @@ bool OpenAsset(const std::string& filename,
int64* offset,
int64* size);
+bool RegisterAssetWithGlobalDescriptors(base::GlobalDescriptors::Key key,
+ const std::string& asset_filename);
+
} // namespace AwAssets
bool RegisterAwAssets(JNIEnv* env);