Chromium Code Reviews| Index: blimp/client/public/blimp_client_context_delegate.h |
| diff --git a/blimp/client/public/blimp_client_context_delegate.h b/blimp/client/public/blimp_client_context_delegate.h |
| index 506d9483c19491bb8d29d54c794215aee9df91ac..98337bb24156e58df5dfcb479eaa325c1b62f66f 100644 |
| --- a/blimp/client/public/blimp_client_context_delegate.h |
| +++ b/blimp/client/public/blimp_client_context_delegate.h |
| @@ -6,6 +6,11 @@ |
| #define BLIMP_CLIENT_PUBLIC_BLIMP_CLIENT_CONTEXT_DELEGATE_H_ |
| #include "base/macros.h" |
| +#include "build/build_config.h" |
| + |
| +#if defined(OS_ANDROID) |
| + #include "base/android/jni_android.h" |
|
nyquist
2016/08/01 18:24:07
Nit: Unindent
|
| +#endif // defined(OS_ANDROID) |
| namespace blimp { |
| namespace client { |
| @@ -15,6 +20,11 @@ class BlimpContents; |
| // functionality it needs from its embedder. |
| class BlimpClientContextDelegate { |
| public: |
| +#if defined(OS_ANDROID) |
| + // Returns a Java object of the type BlimpClientContextDelegate. |
| + virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() = 0; |
| +#endif // defined(OS_ANDROID) |
| + |
| virtual ~BlimpClientContextDelegate() = default; |
| // Attaches any required base::SupportsUserData::Data to the BlimpContents. |