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

Side by Side Diff: components/offline_pages/background/mark_attempt_aborted_task.h

Issue 2438503003: [Offline pages] Add MarkAttemptAbortedTask to Request Queue (Closed)
Patch Set: Addressing feedback -- adding comments and documentation Created 4 years, 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_OFFLINE_PAGES_BACKGROUND_MARK_ATTEMPT_ABORTED_TASK_H_
6 #define COMPONENTS_OFFLINE_PAGES_BACKGROUND_MARK_ATTEMPT_ABORTED_TASK_H_
7
8 #include <stdint.h>
9
10 #include "components/offline_pages/background/request_queue_store.h"
11 #include "components/offline_pages/background/update_request_task.h"
12 #include "components/offline_pages/core/task.h"
13
14 namespace offline_pages {
15
16 class MarkAttemptAbortedTask : public UpdateRequestTask {
17 public:
18 MarkAttemptAbortedTask(RequestQueueStore* store,
19 int64_t request_id,
20 const RequestQueueStore::UpdateCallback& callback);
21 ~MarkAttemptAbortedTask() override;
22
23 protected:
24 // UpdateRequestTask implementation:
25 void UpdateRequestImpl(std::unique_ptr<UpdateRequestsResult> result) override;
26 };
27
28 } // namespace offline_pages
29
30 #endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_MARK_ATTEMPT_ABORTED_TASK_H_
OLDNEW
« no previous file with comments | « components/offline_pages/background/BUILD.gn ('k') | components/offline_pages/background/mark_attempt_aborted_task.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698