| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 WEBKIT_QUOTA_QUOTA_TASK_H_ | 5 #ifndef WEBKIT_BROWSER_QUOTA_QUOTA_TASK_H_ |
| 6 #define WEBKIT_QUOTA_QUOTA_TASK_H_ | 6 #define WEBKIT_BROWSER_QUOTA_QUOTA_TASK_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
| 13 #include "base/sequenced_task_runner_helpers.h" | 13 #include "base/sequenced_task_runner_helpers.h" |
| 14 #include "webkit/storage/webkit_storage_export.h" | 14 #include "webkit/storage/webkit_storage_export.h" |
| 15 | 15 |
| 16 namespace base { | 16 namespace base { |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 virtual ~QuotaTaskObserver(); | 69 virtual ~QuotaTaskObserver(); |
| 70 | 70 |
| 71 void RegisterTask(QuotaTask* task); | 71 void RegisterTask(QuotaTask* task); |
| 72 void UnregisterTask(QuotaTask* task); | 72 void UnregisterTask(QuotaTask* task); |
| 73 | 73 |
| 74 typedef std::set<QuotaTask*> TaskSet; | 74 typedef std::set<QuotaTask*> TaskSet; |
| 75 TaskSet running_quota_tasks_; | 75 TaskSet running_quota_tasks_; |
| 76 }; | 76 }; |
| 77 } | 77 } |
| 78 | 78 |
| 79 #endif // WEBKIT_QUOTA_QUOTA_TASK_H_ | 79 #endif // WEBKIT_BROWSER_QUOTA_QUOTA_TASK_H_ |
| OLD | NEW |