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

Side by Side Diff: storage/browser/quota/quota_task.cc

Issue 1970653005: Fix include path for moved thread_task_runner_handle.h header in storage/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "storage/browser/quota/quota_task.h" 5 #include "storage/browser/quota/quota_task.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/message_loop/message_loop.h" 12 #include "base/message_loop/message_loop.h"
13 #include "base/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
14 14
15 using base::TaskRunner; 15 using base::TaskRunner;
16 16
17 namespace storage { 17 namespace storage {
18 18
19 // QuotaTask --------------------------------------------------------------- 19 // QuotaTask ---------------------------------------------------------------
20 20
21 QuotaTask::~QuotaTask() { 21 QuotaTask::~QuotaTask() {
22 } 22 }
23 23
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 void QuotaTaskObserver::RegisterTask(QuotaTask* task) { 68 void QuotaTaskObserver::RegisterTask(QuotaTask* task) {
69 running_quota_tasks_.insert(task); 69 running_quota_tasks_.insert(task);
70 } 70 }
71 71
72 void QuotaTaskObserver::UnregisterTask(QuotaTask* task) { 72 void QuotaTaskObserver::UnregisterTask(QuotaTask* task) {
73 DCHECK(running_quota_tasks_.find(task) != running_quota_tasks_.end()); 73 DCHECK(running_quota_tasks_.find(task) != running_quota_tasks_.end());
74 running_quota_tasks_.erase(task); 74 running_quota_tasks_.erase(task);
75 } 75 }
76 76
77 } // namespace storage 77 } // namespace storage
OLDNEW
« no previous file with comments | « storage/browser/fileapi/recursive_operation_delegate.cc ('k') | storage/common/database/database_connections.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698