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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java

Issue 98853009: Fixing Java style issues in android_webview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Bo's nits Created 7 years 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: android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java b/android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java
index 12f28aef70ff2ad17b80641f6f2986455b013b4e..9ee1357bc8ae848a5d5ab11301159c59f1d93571 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwContentsClientCallbackHelper.java
@@ -1,4 +1,4 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -51,9 +51,9 @@ class AwContentsClientCallbackHelper {
final String mArgs;
LoginRequestInfo(String realm, String account, String args) {
- mRealm = realm;
- mAccount = account;
- mArgs = args;
+ mRealm = realm;
+ mAccount = account;
+ mArgs = args;
}
}
@@ -69,13 +69,13 @@ class AwContentsClientCallbackHelper {
}
}
- private final static int MSG_ON_LOAD_RESOURCE = 1;
- private final static int MSG_ON_PAGE_STARTED = 2;
- private final static int MSG_ON_DOWNLOAD_START = 3;
- private final static int MSG_ON_RECEIVED_LOGIN_REQUEST = 4;
- private final static int MSG_ON_RECEIVED_ERROR = 5;
- private final static int MSG_ON_NEW_PICTURE = 6;
- private final static int MSG_ON_SCALE_CHANGED_SCALED = 7;
+ private static final int MSG_ON_LOAD_RESOURCE = 1;
+ private static final int MSG_ON_PAGE_STARTED = 2;
+ private static final int MSG_ON_DOWNLOAD_START = 3;
+ private static final int MSG_ON_RECEIVED_LOGIN_REQUEST = 4;
+ private static final int MSG_ON_RECEIVED_ERROR = 5;
+ private static final int MSG_ON_NEW_PICTURE = 6;
+ private static final int MSG_ON_SCALE_CHANGED_SCALED = 7;
// Minimum period allowed between consecutive onNewPicture calls, to rate-limit the callbacks.
private static final long ON_NEW_PICTURE_MIN_PERIOD_MILLIS = 500;
@@ -146,7 +146,7 @@ class AwContentsClientCallbackHelper {
"AwContentsClientCallbackHelper: unhandled message " + msg.what);
}
}
- };
+ }
public AwContentsClientCallbackHelper(Looper looper, AwContentsClient contentsClient) {
mHandler = new MyHandler(looper);

Powered by Google App Engine
This is Rietveld 408576698