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

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

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: update Created 4 years, 1 month 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 #include "components/offline_pages/background/remove_requests_task.h" 5 #include "components/offline_pages/core/background/remove_requests_task.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 8
9 namespace offline_pages { 9 namespace offline_pages {
10 10
11 RemoveRequestsTask::RemoveRequestsTask( 11 RemoveRequestsTask::RemoveRequestsTask(
12 RequestQueueStore* store, 12 RequestQueueStore* store,
13 const std::vector<int64_t>& request_ids, 13 const std::vector<int64_t>& request_ids,
14 const RequestQueueStore::UpdateCallback& callback) 14 const RequestQueueStore::UpdateCallback& callback)
15 : store_(store), 15 : store_(store),
(...skipping 27 matching lines...) Expand all
43 CompleteWithResult(std::move(result)); 43 CompleteWithResult(std::move(result));
44 } 44 }
45 45
46 void RemoveRequestsTask::CompleteWithResult( 46 void RemoveRequestsTask::CompleteWithResult(
47 std::unique_ptr<UpdateRequestsResult> result) { 47 std::unique_ptr<UpdateRequestsResult> result) {
48 callback_.Run(std::move(result)); 48 callback_.Run(std::move(result));
49 TaskComplete(); 49 TaskComplete();
50 } 50 }
51 51
52 } // namespace offline_pages 52 } // namespace offline_pages
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698