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

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

Issue 581433002: Change visibility of methods only called by JNI counter-part of the class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move annotations around Created 6 years, 3 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
« no previous file with comments | « no previous file | build/android/findbugs_filter/findbugs_known_bugs.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/java/src/org/chromium/android_webview/AwWebResourceResponse.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwWebResourceResponse.java b/android_webview/java/src/org/chromium/android_webview/AwWebResourceResponse.java
index 52baca1ea252344e3d8aef17e874a72d7f1f9c9b..c31d722944b1f3882e892525a66ba5d1b58abb41 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwWebResourceResponse.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwWebResourceResponse.java
@@ -6,6 +6,7 @@ package org.chromium.android_webview;
import org.chromium.base.CalledByNative;
import org.chromium.base.JNINamespace;
+import org.chromium.base.VisibleForTesting;
import java.io.InputStream;
import java.util.Map;
@@ -48,38 +49,40 @@ public class AwWebResourceResponse {
}
}
+ @VisibleForTesting
@CalledByNative
public String getMimeType() {
return mMimeType;
}
@CalledByNative
- public String getCharset() {
+ private String getCharset() {
return mCharset;
}
+ @VisibleForTesting
@CalledByNative
public InputStream getData() {
return mData;
}
@CalledByNative
- public int getStatusCode() {
+ private int getStatusCode() {
return mStatusCode;
}
@CalledByNative
- public String getReasonPhrase() {
+ private String getReasonPhrase() {
return mReasonPhrase;
}
@CalledByNative
- public String[] getResponseHeaderNames() {
+ private String[] getResponseHeaderNames() {
return mResponseHeaderNames;
}
@CalledByNative
- public String[] getResponseHeaderValues() {
+ private String[] getResponseHeaderValues() {
return mResponseHeaderValues;
}
}
« no previous file with comments | « no previous file | build/android/findbugs_filter/findbugs_known_bugs.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698