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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java

Issue 2262883002: Handle @Annotated parameters when generating JNI headers from Java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/android/jni_generator/sample_for_tests.cc ('k') | 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/ntp/snippets/SnippetsBridge.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java b/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java
index 578c9307fec1c051120643e88b80a763090e6362..cded7f7f8823b1a2df80d42ca40ccc29da53cff1 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ntp/snippets/SnippetsBridge.java
@@ -197,20 +197,20 @@ public class SnippetsBridge implements SuggestionsSource {
}
@CalledByNative
- private void onNewSuggestions(/* @CategoryInt */ int category) {
+ private void onNewSuggestions(@CategoryInt int category) {
assert mNativeSnippetsBridge != 0;
assert mObserver != null;
mObserver.onNewSuggestions(category);
}
@CalledByNative
- private void onCategoryStatusChanged(/* @CategoryInt */ int category, /* @CategoryStatusEnum */
- int newStatus) {
+ private void onCategoryStatusChanged(@CategoryInt int category,
+ @CategoryStatusEnum int newStatus) {
if (mObserver != null) mObserver.onCategoryStatusChanged(category, newStatus);
}
@CalledByNative
- private void onSuggestionInvalidated(/* @CategoryInt */ int category, String suggestionId) {
+ private void onSuggestionInvalidated(@CategoryInt int category, String suggestionId) {
if (mObserver != null) mObserver.onSuggestionInvalidated(category, suggestionId);
}
« no previous file with comments | « base/android/jni_generator/sample_for_tests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698