Commit 6205ad09 authored by Sky Malice's avatar Sky Malice Committed by Commit Bot

[Feed] Stop obfuscation of FeedRefreshTask class name.

Bug: 913696
Change-Id: I29fe62f4022c464330385c9e6e4d3253f2f3273c
Reviewed-on: https://chromium-review.googlesource.com/c/1370555Reviewed-by: default avatarFilip Gorski <fgorski@chromium.org>
Commit-Queue: Sky Malice <skym@chromium.org>
Cr-Commit-Position: refs/heads/master@{#615356}
parent d5698f68
...@@ -8,6 +8,7 @@ import android.content.Context; ...@@ -8,6 +8,7 @@ import android.content.Context;
import org.chromium.base.ContextUtils; import org.chromium.base.ContextUtils;
import org.chromium.base.ThreadUtils; import org.chromium.base.ThreadUtils;
import org.chromium.base.annotations.UsedByReflection;
import org.chromium.chrome.browser.background_task_scheduler.NativeBackgroundTask; import org.chromium.chrome.browser.background_task_scheduler.NativeBackgroundTask;
import org.chromium.components.background_task_scheduler.BackgroundTaskScheduler; import org.chromium.components.background_task_scheduler.BackgroundTaskScheduler;
import org.chromium.components.background_task_scheduler.BackgroundTaskSchedulerFactory; import org.chromium.components.background_task_scheduler.BackgroundTaskSchedulerFactory;
...@@ -21,6 +22,7 @@ import java.util.concurrent.TimeUnit; ...@@ -21,6 +22,7 @@ import java.util.concurrent.TimeUnit;
* A task implementation that loads native and then tries to refresh the Feed's articles. Failures * A task implementation that loads native and then tries to refresh the Feed's articles. Failures
* or interruptions are not retried or rescheduled. * or interruptions are not retried or rescheduled.
*/ */
@UsedByReflection("BackgroundTaskReflection.java")
public class FeedRefreshTask extends NativeBackgroundTask { public class FeedRefreshTask extends NativeBackgroundTask {
// The amount of "flex" to add around the fetching periods, as a ratio of the period. // The amount of "flex" to add around the fetching periods, as a ratio of the period.
private static final double FLEX_FACTOR = 0.1; private static final double FLEX_FACTOR = 0.1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment