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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaBase.java

Issue 2796303009: [Omaha] Catch SecurityExceptions (Closed)
Patch Set: Created 3 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaBase.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaBase.java b/chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaBase.java
index d6c47da5750a58a641ed41b13f97d0e84b651d3b..41d19cd5ca4b8403fd00a85d210b60e4a868f5c2 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaBase.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaBase.java
@@ -477,7 +477,7 @@ public class OmahaBase {
writer.write(request, 0, request.length());
StreamUtil.closeQuietly(writer);
checkServerResponseCode(urlConnection);
- } catch (IOException e) {
+ } catch (IOException | SecurityException e) {
throw new RequestFailureException("Failed to write request to server: ", e);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698