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

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

Issue 539143002: Migrate webkit/browser/ to storage/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android build Created 6 years, 3 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 "webkit/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/message_loop/message_loop_proxy.h" 13 #include "base/message_loop/message_loop_proxy.h"
14 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
15 15
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 void QuotaTaskObserver::RegisterTask(QuotaTask* task) { 70 void QuotaTaskObserver::RegisterTask(QuotaTask* task) {
71 running_quota_tasks_.insert(task); 71 running_quota_tasks_.insert(task);
72 } 72 }
73 73
74 void QuotaTaskObserver::UnregisterTask(QuotaTask* task) { 74 void QuotaTaskObserver::UnregisterTask(QuotaTask* task) {
75 DCHECK(running_quota_tasks_.find(task) != running_quota_tasks_.end()); 75 DCHECK(running_quota_tasks_.find(task) != running_quota_tasks_.end());
76 running_quota_tasks_.erase(task); 76 running_quota_tasks_.erase(task);
77 } 77 }
78 78
79 } // namespace storage 79 } // namespace storage
OLDNEW
« no previous file with comments | « storage/browser/quota/quota_task.h ('k') | storage/browser/quota/quota_temporary_storage_evictor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698