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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java

Issue 1936353002: Add a flag to not start GPU process on browser startup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix ContentShellTestApk Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java b/content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java
index 927f76a9b5d692d0fcbfea73b80b6dcee276fa1f..616727ed6a6361dc52a7ab22a6ab3c62a1033819 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java
@@ -108,7 +108,7 @@ public class BrowserStartupControllerTest extends InstrumentationTestCase {
@Override
public void run() {
try {
- mController.startBrowserProcessesAsync(callback);
+ mController.startBrowserProcessesAsync(true, callback);
} catch (Exception e) {
fail("Browser should have started successfully");
}
@@ -142,7 +142,7 @@ public class BrowserStartupControllerTest extends InstrumentationTestCase {
@Override
public void run() {
try {
- mController.startBrowserProcessesAsync(callback1);
+ mController.startBrowserProcessesAsync(true, callback1);
} catch (Exception e) {
fail("Browser should have started successfully");
}
@@ -152,7 +152,7 @@ public class BrowserStartupControllerTest extends InstrumentationTestCase {
@Override
public void run() {
try {
- mController.startBrowserProcessesAsync(callback2);
+ mController.startBrowserProcessesAsync(true, callback2);
} catch (Exception e) {
fail("Browser should have started successfully");
}
@@ -197,7 +197,7 @@ public class BrowserStartupControllerTest extends InstrumentationTestCase {
@Override
public void run() {
try {
- mController.startBrowserProcessesAsync(callback1);
+ mController.startBrowserProcessesAsync(true, callback1);
} catch (Exception e) {
fail("Browser should have started successfully");
}
@@ -231,7 +231,7 @@ public class BrowserStartupControllerTest extends InstrumentationTestCase {
@Override
public void run() {
try {
- mController.startBrowserProcessesAsync(callback3);
+ mController.startBrowserProcessesAsync(true, callback3);
} catch (Exception e) {
fail("Browser should have started successfully");
}
@@ -268,7 +268,7 @@ public class BrowserStartupControllerTest extends InstrumentationTestCase {
@Override
public void run() {
try {
- mController.startBrowserProcessesAsync(callback);
+ mController.startBrowserProcessesAsync(true, callback);
} catch (Exception e) {
fail("Browser should have started successfully");
}
@@ -299,7 +299,7 @@ public class BrowserStartupControllerTest extends InstrumentationTestCase {
@Override
public void run() {
try {
- mController.startBrowserProcessesAsync(callback1);
+ mController.startBrowserProcessesAsync(true, callback1);
} catch (Exception e) {
fail("Browser should have started successfully");
}
@@ -333,7 +333,7 @@ public class BrowserStartupControllerTest extends InstrumentationTestCase {
@Override
public void run() {
try {
- mController.startBrowserProcessesAsync(callback3);
+ mController.startBrowserProcessesAsync(true, callback3);
} catch (Exception e) {
fail("Browser should have started successfully");
}
@@ -388,7 +388,7 @@ public class BrowserStartupControllerTest extends InstrumentationTestCase {
@Override
public void run() {
try {
- mController.startBrowserProcessesAsync(callback);
+ mController.startBrowserProcessesAsync(true, callback);
} catch (Exception e) {
fail("Browser should have started successfully");
}
@@ -443,7 +443,7 @@ public class BrowserStartupControllerTest extends InstrumentationTestCase {
@Override
public void run() {
try {
- mController.startBrowserProcessesAsync(callback);
+ mController.startBrowserProcessesAsync(true, callback);
} catch (Exception e) {
fail("Browser should have started successfully");
}
@@ -472,7 +472,7 @@ public class BrowserStartupControllerTest extends InstrumentationTestCase {
@Override
public void run() {
try {
- mController.startBrowserProcessesAsync(callback);
+ mController.startBrowserProcessesAsync(true, callback);
fail("Browser should not have started successfully");
} catch (Exception e) {
// Exception expected, ignore.

Powered by Google App Engine
This is Rietveld 408576698