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

Unified Diff: components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/ProfileUtils.java

Issue 340403004: Java wrapper for DistilledPagePrefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Spacing issues Created 6 years, 6 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
Index: components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/ProfileUtils.java
diff --git a/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/ProfileUtils.java b/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/ProfileUtils.java
index ce6eea1f796ae6e574ef3387c102da9d10468112..9fd28dd71ec4ff479249e32b8afce2e6664aa05d 100644
--- a/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/ProfileUtils.java
+++ b/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/ProfileUtils.java
@@ -5,7 +5,7 @@
package org.chromium.components.dom_distiller.core;
import org.chromium.base.JNINamespace;
-import android.util.Log;
+
/**
* Wrapper for the dom_distiller::ProfileUtils.
*/
@@ -19,10 +19,9 @@ public final class ProfileUtils {
nativeReaderModePrefsPtr = nativePtr;
}
- public String setHighContrastMode(boolean enabled) {
- Log.v("Angie test", "Profile Utils java was called");
- return nativeSetHighContrastMode(nativeReaderModePrefsPtr, enabled);
+ public void setHighContrastMode(boolean enabled) {
+ nativeSetHighContrastMode(nativeReaderModePrefsPtr, enabled);
}
-private native String nativeSetHighContrastMode(long ptr, boolean enabled);
+ private native void nativeSetHighContrastMode(long ptr, boolean enabled);
}

Powered by Google App Engine
This is Rietveld 408576698