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

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

Issue 187453003: Revert 254929 "Add UI hook for distilling web pages for test shell." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 10 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: trunk/src/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java
===================================================================
--- trunk/src/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java (revision 254957)
+++ trunk/src/components/dom_distiller/android/java/src/org/chromium/components/dom_distiller/core/DomDistillerUrlUtils.java (working copy)
@@ -1,30 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-package org.chromium.components.dom_distiller.core;
-
-import org.chromium.base.JNINamespace;
-
-/**
- * Wrapper for the dom_distiller::url_utils.
- */
-@JNINamespace("dom_distiller::url_utils::android")
-public final class DomDistillerUrlUtils {
-
- private DomDistillerUrlUtils() {
- }
-
- /**
- * Returns the URL for viewing distilled content for a URL.
- *
- * @param scheme The scheme for the DOM Distiller source.
- * @param url The URL to distill.
- * @return the URL to load to get the distilled version of a page.
- */
- public static String getDistillerViewUrlFromUrl(String scheme, String url) {
- return nativeGetDistillerViewUrlFromUrl(scheme, url);
- }
-
- private static native String nativeGetDistillerViewUrlFromUrl(String scheme, String url);
-}

Powered by Google App Engine
This is Rietveld 408576698