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

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

Issue 1263053002: Move JNI annotations to annotations package. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 android.content.res.Resources; 7 import android.content.res.Resources;
8 import android.util.SparseArray; 8 import android.util.SparseArray;
9 9
10 import org.chromium.base.CalledByNative; 10 import org.chromium.base.annotations.CalledByNative;
11 import org.chromium.base.JNINamespace; 11 import org.chromium.base.annotations.JNINamespace;
12 12
13 import java.io.IOException; 13 import java.io.IOException;
14 import java.io.InputStreamReader; 14 import java.io.InputStreamReader;
15 import java.lang.ref.SoftReference; 15 import java.lang.ref.SoftReference;
16 import java.util.NoSuchElementException; 16 import java.util.NoSuchElementException;
17 import java.util.Scanner; 17 import java.util.Scanner;
18 18
19 /** 19 /**
20 * A class that defines a set of resource IDs and functionality to resolve 20 * A class that defines a set of resource IDs and functionality to resolve
21 * those IDs to concrete resources. 21 * those IDs to concrete resources.
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 if (isr != null) { 121 if (isr != null) {
122 isr.close(); 122 isr.close();
123 } 123 }
124 } catch (IOException e) { 124 } catch (IOException e) {
125 // Nothing to do if close() fails. 125 // Nothing to do if close() fails.
126 } 126 }
127 } 127 }
128 return result; 128 return result;
129 } 129 }
130 } 130 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698