| Index: chrome/android/java/src/org/chromium/chrome/browser/ProcessUtils.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ProcessUtils.java b/chrome/android/java/src/org/chromium/chrome/browser/ProcessUtils.java
|
| index 2a9f1f3c930666c02996f1b09f2904a8170bd21d..419a0337694e1af7c85c61ff482761fd135abb28 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/ProcessUtils.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/ProcessUtils.java
|
| @@ -6,6 +6,8 @@ package org.chromium.chrome.browser;
|
|
|
| /**
|
| * A set of utility methods related to the various Chrome processes.
|
| + * TODO(pliard): Remove this class when JavaScript timers toggling is handled directly on the native
|
| + * side by using the system monitor.
|
| */
|
| public class ProcessUtils {
|
| // To prevent this class from being instantiated.
|
| @@ -21,15 +23,5 @@ public class ProcessUtils {
|
| nativeToggleWebKitSharedTimers(suspend);
|
| }
|
|
|
| - /**
|
| - * We have keep-alives enabled for network connections as without it some routers will
|
| - * kill the connection, causing web pages to hang. This call closes such
|
| - * idle-but-kept-alive connections.
|
| - */
|
| - public static void closeIdleConnections() {
|
| - nativeCloseIdleConnections();
|
| - }
|
| -
|
| private static native void nativeToggleWebKitSharedTimers(boolean suspend);
|
| - private static native void nativeCloseIdleConnections();
|
| }
|
|
|