|
Allow overlapping sync and async startup requests
On Android we can get a second request to start the browser while
the an asynchronous request is in progress. Since the second
request may be synchronous, we may have switch to completing
initialization synchronously. This patch handles this by tracking
which initialization tasks have been run, and running the remaining
initialization tasks.
BUG= 260574
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=219795
Total comments: 4
Total comments: 6
Total comments: 54
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+486 lines, -407 lines) |
Patch |
 |
M |
android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/app/android/chrome_main_delegate_android.cc
|
View
|
1
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/app/android/content_main.cc
|
View
|
6
|
1 chunk |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
D |
content/browser/android/android_browser_process.h
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -16 lines |
0 comments
|
Download
|
 |
D |
content/browser/android/android_browser_process.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -47 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/browser_jni_registrar.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/browser_startup_controller.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_main_loop.h
|
View
|
1
2
3
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/browser_main_loop.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+39 lines, -22 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_main_runner.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+54 lines, -47 lines |
0 comments
|
Download
|
 |
M |
content/browser/startup_task_runner.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/browser/startup_task_runner.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+29 lines, -21 lines |
0 comments
|
Download
|
 |
M |
content/browser/startup_task_runner_unittest.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+20 lines, -25 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/content_jni.gypi
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/AndroidBrowserProcess.java
|
View
|
1
2
3
4
5
|
1 chunk |
+11 lines, -93 lines |
0 comments
|
Download
|
 |
M |
content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+132 lines, -48 lines |
0 comments
|
Download
|
 |
M |
content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java
|
View
|
1
2
3
4
5
6
|
15 chunks |
+122 lines, -46 lines |
0 comments
|
Download
|
 |
M |
content/shell/android/browsertests_apk/src/org/chromium/content_browsertests_apk/ContentBrowserTestsActivity.java
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
|
View
|
1
2
3
4
5
|
3 chunks |
+8 lines, -10 lines |
0 comments
|
Download
|
Total messages: 21 (0 generated)
|