| 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_MANAGER_H_ | 5 #ifndef WEBKIT_QUOTA_QUOTA_MANAGER_H_ |
| 6 #define WEBKIT_QUOTA_QUOTA_MANAGER_H_ | 6 #define WEBKIT_QUOTA_QUOTA_MANAGER_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <list> | 9 #include <list> |
| 10 #include <map> | 10 #include <map> |
| 11 #include <set> | 11 #include <set> |
| 12 #include <string> | 12 #include <string> |
| 13 #include <utility> | 13 #include <utility> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "base/basictypes.h" | 16 #include "base/basictypes.h" |
| 17 #include "base/callback.h" | 17 #include "base/callback.h" |
| 18 #include "base/files/file_path.h" | 18 #include "base/files/file_path.h" |
| 19 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
| 20 #include "base/memory/scoped_ptr.h" | 20 #include "base/memory/scoped_ptr.h" |
| 21 #include "base/memory/weak_ptr.h" | 21 #include "base/memory/weak_ptr.h" |
| 22 #include "base/task/sequenced_task_runner_helpers.h" | 22 #include "base/sequenced_task_runner_helpers.h" |
| 23 #include "webkit/quota/quota_client.h" | 23 #include "webkit/quota/quota_client.h" |
| 24 #include "webkit/quota/quota_database.h" | 24 #include "webkit/quota/quota_database.h" |
| 25 #include "webkit/quota/quota_task.h" | 25 #include "webkit/quota/quota_task.h" |
| 26 #include "webkit/quota/special_storage_policy.h" | 26 #include "webkit/quota/special_storage_policy.h" |
| 27 #include "webkit/storage/webkit_storage_export.h" | 27 #include "webkit/storage/webkit_storage_export.h" |
| 28 | 28 |
| 29 namespace base { | 29 namespace base { |
| 30 class FilePath; | 30 class FilePath; |
| 31 class SequencedTaskRunner; | 31 class SequencedTaskRunner; |
| 32 class SingleThreadTaskRunner; | 32 class SingleThreadTaskRunner; |
| (...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 | 479 |
| 480 QuotaManager* manager_; // only accessed on the io thread | 480 QuotaManager* manager_; // only accessed on the io thread |
| 481 scoped_refptr<base::SingleThreadTaskRunner> io_thread_; | 481 scoped_refptr<base::SingleThreadTaskRunner> io_thread_; |
| 482 | 482 |
| 483 DISALLOW_COPY_AND_ASSIGN(QuotaManagerProxy); | 483 DISALLOW_COPY_AND_ASSIGN(QuotaManagerProxy); |
| 484 }; | 484 }; |
| 485 | 485 |
| 486 } // namespace quota | 486 } // namespace quota |
| 487 | 487 |
| 488 #endif // WEBKIT_QUOTA_QUOTA_MANAGER_H_ | 488 #endif // WEBKIT_QUOTA_QUOTA_MANAGER_H_ |
| OLD | NEW |