| Index: chrome/android/java/src/org/chromium/chrome/browser/precache/PrecacheLauncher.java
|
| diff --git a/chrome/android/java/src/org/chromium/chrome/browser/precache/PrecacheLauncher.java b/chrome/android/java/src/org/chromium/chrome/browser/precache/PrecacheLauncher.java
|
| index 42d501a011ac0923752400dbc07f2babeadee6e9..915eb58b7ab06edaf7d2aff6e7a99b191e202122 100644
|
| --- a/chrome/android/java/src/org/chromium/chrome/browser/precache/PrecacheLauncher.java
|
| +++ b/chrome/android/java/src/org/chromium/chrome/browser/precache/PrecacheLauncher.java
|
| @@ -96,7 +96,7 @@ public abstract class PrecacheLauncher {
|
| }
|
|
|
| /**
|
| - * Updates the PrecacheServiceLauncher with whether conditions are right for precaching. All of
|
| + * Updates the PrecacheController with whether conditions are right for precaching. All of
|
| * the following must be true:
|
| *
|
| * <ul>
|
| @@ -123,15 +123,15 @@ public abstract class PrecacheLauncher {
|
| mNetworkPredictionsAllowed = networkPredictionsAllowed;
|
| mShouldRun = shouldRun;
|
|
|
| - PrecacheServiceLauncher.setIsPrecachingEnabled(
|
| - context.getApplicationContext(), networkPredictionsAllowed && shouldRun);
|
| + PrecacheController.setIsPrecachingEnabled(
|
| + context, networkPredictionsAllowed && shouldRun);
|
| Log.v(TAG, "updateEnabledSync complete");
|
| }
|
|
|
| /**
|
| - * If precaching is enabled, then allow the PrecacheService to be launched and signal Chrome
|
| + * If precaching is enabled, then allow the PrecacheController to be launched and signal Chrome
|
| * when conditions are right to start precaching. If precaching is disabled, prevent the
|
| - * PrecacheService from ever starting.
|
| + * PrecacheController from ever starting.
|
| *
|
| * @param context any context within the application
|
| */
|
| @@ -166,9 +166,9 @@ public abstract class PrecacheLauncher {
|
| }
|
|
|
| /**
|
| - * If precaching is enabled, then allow the PrecacheService to be launched and signal Chrome
|
| + * If precaching is enabled, then allow the PrecacheController to be launched and signal Chrome
|
| * when conditions are right to start precaching. If precaching is disabled, prevent the
|
| - * PrecacheService from ever starting.
|
| + * PrecacheController from ever starting.
|
| *
|
| * @param context any context within the application
|
| */
|
|
|