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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/PepperPluginManager.java

Issue 136343002: Remove Chrome for TV code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 6 years, 11 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: content/public/android/java/src/org/chromium/content/browser/PepperPluginManager.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/PepperPluginManager.java b/content/public/android/java/src/org/chromium/content/browser/PepperPluginManager.java
index 6d9271eea32aa52f74161f9f3d4c5ce69f54c04e..4db35fe6122214f7a3085f8dfbd037bc523b79e9 100644
--- a/content/public/android/java/src/org/chromium/content/browser/PepperPluginManager.java
+++ b/content/public/android/java/src/org/chromium/content/browser/PepperPluginManager.java
@@ -15,8 +15,6 @@ import android.content.pm.ServiceInfo;
import android.os.Bundle;
import android.util.Log;
-import org.chromium.base.ContextTypes;
-
import java.util.List;
/**
@@ -90,11 +88,6 @@ public class PepperPluginManager {
* @return Description string for plugins
*/
public static String getPlugins(final Context context) {
- if (DeviceUtils.isTv(context) &&
- !ContextTypes.isRunningInWebapp(context)) {
- // Chrome-for-tv enables plugins only on webapp mode.
- return null;
- }
StringBuffer ret = new StringBuffer();
PackageManager pm = context.getPackageManager();
List<ResolveInfo> plugins = pm.queryIntentServices(

Powered by Google App Engine
This is Rietveld 408576698