| Index: components/offline_pages/background/mark_attempt_completed_task.h
|
| diff --git a/components/offline_pages/background/mark_attempt_aborted_task.h b/components/offline_pages/background/mark_attempt_completed_task.h
|
| similarity index 52%
|
| copy from components/offline_pages/background/mark_attempt_aborted_task.h
|
| copy to components/offline_pages/background/mark_attempt_completed_task.h
|
| index 80d6367d5c15127325b42adabba5b3a9beb1c053..7997ee5e0298bb2139747861451b67122649eedc 100644
|
| --- a/components/offline_pages/background/mark_attempt_aborted_task.h
|
| +++ b/components/offline_pages/background/mark_attempt_completed_task.h
|
| @@ -2,10 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef COMPONENTS_OFFLINE_PAGES_BACKGROUND_MARK_ATTEMPT_ABORTED_TASK_H_
|
| -#define COMPONENTS_OFFLINE_PAGES_BACKGROUND_MARK_ATTEMPT_ABORTED_TASK_H_
|
| +#ifndef COMPONENTS_OFFLINE_PAGES_BACKGROUND_MARK_ATTEMPT_COMPLETED_TASK_H_
|
| +#define COMPONENTS_OFFLINE_PAGES_BACKGROUND_MARK_ATTEMPT_COMPLETED_TASK_H_
|
|
|
| #include <stdint.h>
|
| +#include <memory>
|
|
|
| #include "components/offline_pages/background/request_queue_store.h"
|
| #include "components/offline_pages/background/update_request_task.h"
|
| @@ -13,12 +14,12 @@
|
|
|
| namespace offline_pages {
|
|
|
| -class MarkAttemptAbortedTask : public UpdateRequestTask {
|
| +class MarkAttemptCompletedTask : public UpdateRequestTask {
|
| public:
|
| - MarkAttemptAbortedTask(RequestQueueStore* store,
|
| - int64_t request_id,
|
| - const RequestQueueStore::UpdateCallback& callback);
|
| - ~MarkAttemptAbortedTask() override;
|
| + MarkAttemptCompletedTask(RequestQueueStore* store,
|
| + int64_t request_id,
|
| + const RequestQueueStore::UpdateCallback& callback);
|
| + ~MarkAttemptCompletedTask() override;
|
|
|
| protected:
|
| // UpdateRequestTask implementation:
|
| @@ -27,4 +28,4 @@ class MarkAttemptAbortedTask : public UpdateRequestTask {
|
|
|
| } // namespace offline_pages
|
|
|
| -#endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_MARK_ATTEMPT_ABORTED_TASK_H_
|
| +#endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_MARK_ATTEMPT_COMPLETED_TASK_H_
|
|
|