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

Side by Side Diff: android_webview/java/src/org/chromium/android_webview/AwContentsIoThreadClient.java

Issue 1000793002: [Android] Incorporate findbugs into android builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.android_webview; 5 package org.chromium.android_webview;
6 6
7 import org.chromium.base.CalledByNative; 7 import org.chromium.base.CalledByNative;
8 import org.chromium.base.JNINamespace; 8 import org.chromium.base.JNINamespace;
9 import org.chromium.base.annotations.SuppressFBWarnings;
9 10
10 import java.util.HashMap; 11 import java.util.HashMap;
11 import java.util.Map; 12 import java.util.Map;
12 13
13 /** 14 /**
14 * Delegate for handling callbacks. All methods are called on the IO thread. 15 * Delegate for handling callbacks. All methods are called on the IO thread.
15 * 16 *
16 * You should create a separate instance for every WebContents that requires the 17 * You should create a separate instance for every WebContents that requires the
17 * provided functionality. 18 * provided functionality.
18 */ 19 */
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 currentValue += ", "; 97 currentValue += ", ";
97 } 98 }
98 responseHeaders.put(responseHeaderNames[i], currentValue + respo nseHeaderValues[i]); 99 responseHeaders.put(responseHeaderNames[i], currentValue + respo nseHeaderValues[i]);
99 } 100 }
100 } 101 }
101 AwWebResourceResponse response = new AwWebResourceResponse( 102 AwWebResourceResponse response = new AwWebResourceResponse(
102 mimeType, encoding, null, statusCode, reasonPhrase, responseHead ers); 103 mimeType, encoding, null, statusCode, reasonPhrase, responseHead ers);
103 onReceivedHttpError(request, response); 104 onReceivedHttpError(request, response);
104 } 105 }
105 } 106 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698