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

Side by Side Diff: components/offline_pages/core/background/mark_attempt_started_task.h

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: rebase Created 4 years 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_OFFLINE_PAGES_BACKGROUND_MARK_ATTEMPT_STARTED_TASK_H_ 5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_MARK_ATTEMPT_STARTED_TASK_H_
6 #define COMPONENTS_OFFLINE_PAGES_BACKGROUND_MARK_ATTEMPT_STARTED_TASK_H_ 6 #define COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_MARK_ATTEMPT_STARTED_TASK_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "components/offline_pages/background/update_request_task.h" 10 #include "components/offline_pages/core/background/update_request_task.h"
11 #include "components/offline_pages/core/task.h" 11 #include "components/offline_pages/core/task.h"
12 12
13 namespace offline_pages { 13 namespace offline_pages {
14 14
15 class RequestQueueStore; 15 class RequestQueueStore;
16 16
17 class MarkAttemptStartedTask : public UpdateRequestTask { 17 class MarkAttemptStartedTask : public UpdateRequestTask {
18 public: 18 public:
19 MarkAttemptStartedTask(RequestQueueStore* store, 19 MarkAttemptStartedTask(RequestQueueStore* store,
20 int64_t request_id, 20 int64_t request_id,
21 const RequestQueueStore::UpdateCallback& callback); 21 const RequestQueueStore::UpdateCallback& callback);
22 ~MarkAttemptStartedTask() override; 22 ~MarkAttemptStartedTask() override;
23 23
24 protected: 24 protected:
25 // UpdateRequestTask implementation: 25 // UpdateRequestTask implementation:
26 void UpdateRequestImpl(std::unique_ptr<UpdateRequestsResult> result) override; 26 void UpdateRequestImpl(std::unique_ptr<UpdateRequestsResult> result) override;
27 }; 27 };
28 28
29 } // namespace offline_pages 29 } // namespace offline_pages
30 30
31 #endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_MARK_ATTEMPT_STARTED_TASK_H_ 31 #endif // COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_MARK_ATTEMPT_STARTED_TASK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698