| Index: content/browser/android/android_startup_observer.h
|
| diff --git a/content/browser/android/android_startup_observer.h b/content/browser/android/android_startup_observer.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0555d2fca006287b32cfecd2573076ac6f39521d
|
| --- /dev/null
|
| +++ b/content/browser/android/android_startup_observer.h
|
| @@ -0,0 +1,28 @@
|
| +// TODO: Insert description here. (generated by aberent)
|
| +
|
| +#ifndef CONTENT_BROWSER_ANDROID_ANDROID_STARTUP_OBSERVER_H_
|
| +#define CONTENT_BROWSER_ANDROID_ANDROID_STARTUP_OBSERVER_H_
|
| +
|
| +#include "base/android/jni_android.h"
|
| +
|
| +#include "content/public/common/startup_task_runner.h"
|
| +
|
| +namespace content {
|
| +
|
| +class AndroidStartupObserver : public StartupTaskRunner::Observer {
|
| + public:
|
| + AndroidStartupObserver(jobject java_observer);
|
| + ~AndroidStartupObserver();
|
| +
|
| + static bool RegisterStartupObserver(JNIEnv* env);
|
| +
|
| + private:
|
| + jobject java_observer_;
|
| +
|
| + virtual void OVERRIDE AllTasksRun();
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(AndroidStartupObserver);
|
| +};
|
| +
|
| +} // namespace content
|
| +#endif // CONTENT_BROWSER_ANDROID_ANDROID_STARTUP_OBSERVER_H_
|
|
|