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

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

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: more 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_REMOVE_REQUESTS_TASK_H_ 5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_REMOVE_REQUESTS_TASK_H_
6 #define COMPONENTS_OFFLINE_PAGES_BACKGROUND_REMOVE_REQUESTS_TASK_H_ 6 #define COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_REMOVE_REQUESTS_TASK_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "components/offline_pages/background/request_queue_store.h" 14 #include "components/offline_pages/core/background/request_queue_store.h"
15 #include "components/offline_pages/background/save_page_request.h" 15 #include "components/offline_pages/core/background/save_page_request.h"
16 #include "components/offline_pages/core/task.h" 16 #include "components/offline_pages/core/task.h"
17 17
18 namespace offline_pages { 18 namespace offline_pages {
19 19
20 class RemoveRequestsTask : public Task { 20 class RemoveRequestsTask : public Task {
21 public: 21 public:
22 RemoveRequestsTask(RequestQueueStore* store, 22 RemoveRequestsTask(RequestQueueStore* store,
23 const std::vector<int64_t>& request_ids, 23 const std::vector<int64_t>& request_ids,
24 const RequestQueueStore::UpdateCallback& callback); 24 const RequestQueueStore::UpdateCallback& callback);
25 ~RemoveRequestsTask() override; 25 ~RemoveRequestsTask() override;
(...skipping 17 matching lines...) Expand all
43 // Callback to complete the task. 43 // Callback to complete the task.
44 RequestQueueStore::UpdateCallback callback_; 44 RequestQueueStore::UpdateCallback callback_;
45 45
46 base::WeakPtrFactory<RemoveRequestsTask> weak_ptr_factory_; 46 base::WeakPtrFactory<RemoveRequestsTask> weak_ptr_factory_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(RemoveRequestsTask); 48 DISALLOW_COPY_AND_ASSIGN(RemoveRequestsTask);
49 }; 49 };
50 50
51 } // namespace offline_pages 51 } // namespace offline_pages
52 52
53 #endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_REMOVE_REQUESTS_TASK_H_ 53 #endif // COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_REMOVE_REQUESTS_TASK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698