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

Unified Diff: printing/printing_context_android.h

Issue 1477783002: jni: Pass method parameters as JavaParamRef in printing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 | printing/printing_context_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printing_context_android.h
diff --git a/printing/printing_context_android.h b/printing/printing_context_android.h
index c0d84be0e1c07610e04b44e8ca1b8bf00f1a9370..26ebea640c479f16e4fb316e659f574b01deafe2 100644
--- a/printing/printing_context_android.h
+++ b/printing/printing_context_android.h
@@ -27,10 +27,13 @@ class PRINTING_EXPORT PrintingContextAndroid : public PrintingContext {
// Called from Java, when printing settings from the user are ready or the
// printing operation is canceled.
- void AskUserForSettingsReply(JNIEnv* env, jobject obj, jboolean success);
+ void AskUserForSettingsReply(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj,
+ jboolean success);
// Called from Java, when a printing process initiated by a script finishes.
- void ShowSystemDialogDone(JNIEnv* env, jobject obj);
+ void ShowSystemDialogDone(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj);
// PrintingContext implementation.
void AskUserForSettings(int max_pages,
« no previous file with comments | « no previous file | printing/printing_context_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698