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

Side by Side Diff: components/offline_pages/core/background/cleanup_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_CLEANUP_TASK_H_ 5 #ifndef COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_CLEANUP_TASK_H_
6 #define COMPONENTS_OFFLINE_PAGES_BACKGROUND_CLEANUP_TASK_H_ 6 #define COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_CLEANUP_TASK_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "components/offline_pages/background/request_queue_results.h" 12 #include "components/offline_pages/core/background/request_queue_results.h"
13 #include "components/offline_pages/background/save_page_request.h" 13 #include "components/offline_pages/core/background/save_page_request.h"
14 #include "components/offline_pages/core/task.h" 14 #include "components/offline_pages/core/task.h"
15 15
16 namespace offline_pages { 16 namespace offline_pages {
17 17
18 class OfflinerPolicy; 18 class OfflinerPolicy;
19 class RequestCoordinatorEventLogger; 19 class RequestCoordinatorEventLogger;
20 class RequestNotifier; 20 class RequestNotifier;
21 class RequestQueueStore; 21 class RequestQueueStore;
22 22
23 class CleanupTask : public Task { 23 class CleanupTask : public Task {
(...skipping 27 matching lines...) Expand all
51 RequestQueueStore* store_; 51 RequestQueueStore* store_;
52 OfflinerPolicy* policy_; 52 OfflinerPolicy* policy_;
53 RequestNotifier* notifier_; 53 RequestNotifier* notifier_;
54 RequestCoordinatorEventLogger* event_logger_; 54 RequestCoordinatorEventLogger* event_logger_;
55 // Allows us to pass a weak pointer to callbacks. 55 // Allows us to pass a weak pointer to callbacks.
56 base::WeakPtrFactory<CleanupTask> weak_ptr_factory_; 56 base::WeakPtrFactory<CleanupTask> weak_ptr_factory_;
57 }; 57 };
58 58
59 } // namespace offline_pages 59 } // namespace offline_pages
60 60
61 #endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_CLEANUP_TASK_H_ 61 #endif // COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_CLEANUP_TASK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698