Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(654)

Side by Side Diff: content/browser/android/android_startup_observer.h

Issue 19957002: Run the later parts of startup as UI thread tasks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // TODO: Insert description here. (generated by aberent)
2
3 #ifndef CONTENT_BROWSER_ANDROID_ANDROID_STARTUP_OBSERVER_H_
4 #define CONTENT_BROWSER_ANDROID_ANDROID_STARTUP_OBSERVER_H_
5
6 #include "base/android/jni_android.h"
7
8 #include "content/public/common/startup_task_runner.h"
9
10 namespace content {
11
12 class AndroidStartupObserver : public StartupTaskRunner::Observer {
13 public:
14 AndroidStartupObserver(jobject java_observer);
15 ~AndroidStartupObserver();
16
17 static bool RegisterStartupObserver(JNIEnv* env);
18
19 private:
20 jobject java_observer_;
21
22 virtual void OVERRIDE AllTasksRun();
23
24 DISALLOW_COPY_AND_ASSIGN(AndroidStartupObserver);
25 };
26
27 } // namespace content
28 #endif // CONTENT_BROWSER_ANDROID_ANDROID_STARTUP_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698