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

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

Issue 744453002: Fix a bunch of Java Checkstyle issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: NeedsBraces to info Created 6 years, 1 month 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/InterstitialPageTest.java
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java b/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java
index 1c3b07925b3391fa70a8daf9ceb7b26052dc74a0..e3398976014b4f9baeef7688a141a60893756b4b 100644
--- a/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java
+++ b/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java
@@ -88,21 +88,20 @@ public class InterstitialPageTest extends ContentShellTestBase {
@Feature({"Navigation"})
public void testCloseInterstitial() throws InterruptedException, ExecutionException {
final String proceedCommand = "PROCEED";
- final String htmlContent =
- "<html>" +
- "<head>" +
- "<script>" +
- "function sendCommand(command) {" +
- "window.domAutomationController.setAutomationId(1);" +
- "window.domAutomationController.send(command);" +
- "}" +
- "</script>" +
- "</head>" +
- "<body style='background-color:#FF0000' " +
- "onclick='sendCommand(\"" + proceedCommand + "\");'>" +
- "<h1>This is a scary interstitial page</h1>" +
- "</body>" +
- "</html>";
+ final String htmlContent = "<html>"
+ + "<head>"
+ + " <script>"
+ + " function sendCommand(command) {"
+ + " window.domAutomationController.setAutomationId(1);"
+ + " window.domAutomationController.send(command);"
+ + " }"
+ + " </script>"
+ + "</head>"
+ + "<body style='background-color:#FF0000' "
+ + " onclick='sendCommand(\"" + proceedCommand + "\");'>"
+ + " <h1>This is a scary interstitial page</h1>"
+ + "</body>"
+ + "</html>";
final InterstitialPageDelegateAndroid delegate =
new InterstitialPageDelegateAndroid(htmlContent) {
@Override

Powered by Google App Engine
This is Rietveld 408576698