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

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

Issue 2552723003: storage: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase on top of master 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 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 #ifndef STORAGE_BROWSER_QUOTA_QUOTA_TASK_H_ 5 #ifndef STORAGE_BROWSER_QUOTA_QUOTA_TASK_H_
6 #define STORAGE_BROWSER_QUOTA_QUOTA_TASK_H_ 6 #define STORAGE_BROWSER_QUOTA_QUOTA_TASK_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/sequenced_task_runner_helpers.h" 12 #include "base/sequenced_task_runner_helpers.h"
13 #include "storage/browser/storage_browser_export.h" 13 #include "storage/browser/storage_browser_export.h"
14 14
15 namespace base { 15 namespace base {
16 class SingleThreadTaskRunner; 16 class SingleThreadTaskRunner;
17 class TaskRunner;
18 } 17 }
19 18
20 namespace storage { 19 namespace storage {
21 20
22 class QuotaTaskObserver; 21 class QuotaTaskObserver;
23 22
24 // A base class for quota tasks. 23 // A base class for quota tasks.
25 // TODO(kinuko): Revise this using base::Callback. 24 // TODO(kinuko): Revise this using base::Callback.
26 class QuotaTask { 25 class QuotaTask {
27 public: 26 public:
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 68
70 void RegisterTask(QuotaTask* task); 69 void RegisterTask(QuotaTask* task);
71 void UnregisterTask(QuotaTask* task); 70 void UnregisterTask(QuotaTask* task);
72 71
73 typedef std::set<QuotaTask*> TaskSet; 72 typedef std::set<QuotaTask*> TaskSet;
74 TaskSet running_quota_tasks_; 73 TaskSet running_quota_tasks_;
75 }; 74 };
76 } 75 }
77 76
78 #endif // STORAGE_BROWSER_QUOTA_QUOTA_TASK_H_ 77 #endif // STORAGE_BROWSER_QUOTA_QUOTA_TASK_H_
OLDNEW
« no previous file with comments | « storage/browser/fileapi/watcher_manager.h ('k') | storage/common/database/database_connections.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698