| 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_BROWSER_QUOTA_QUOTA_MANAGER_H_ |
| 6 #define WEBKIT_QUOTA_QUOTA_MANAGER_H_ | 6 #define WEBKIT_BROWSER_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/sequenced_task_runner_helpers.h" | 22 #include "base/sequenced_task_runner_helpers.h" |
| 23 #include "webkit/quota/quota_callbacks.h" | 23 #include "webkit/quota/quota_callbacks.h" |
| 24 #include "webkit/quota/quota_client.h" | 24 #include "webkit/browser/quota/quota_callbacks.h" |
| 25 #include "webkit/quota/quota_database.h" | 25 #include "webkit/browser/quota/quota_client.h" |
| 26 #include "webkit/quota/quota_task.h" | 26 #include "webkit/browser/quota/quota_database.h" |
| 27 #include "webkit/quota/special_storage_policy.h" | 27 #include "webkit/browser/quota/quota_task.h" |
| 28 #include "webkit/browser/quota/special_storage_policy.h" |
| 28 #include "webkit/storage/webkit_storage_export.h" | 29 #include "webkit/storage/webkit_storage_export.h" |
| 29 | 30 |
| 30 namespace base { | 31 namespace base { |
| 31 class FilePath; | 32 class FilePath; |
| 32 class SequencedTaskRunner; | 33 class SequencedTaskRunner; |
| 33 class SingleThreadTaskRunner; | 34 class SingleThreadTaskRunner; |
| 34 } | 35 } |
| 35 | 36 |
| 36 namespace quota_internals { | 37 namespace quota_internals { |
| 37 class QuotaInternalsProxy; | 38 class QuotaInternalsProxy; |
| (...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 virtual ~QuotaManagerProxy(); | 462 virtual ~QuotaManagerProxy(); |
| 462 | 463 |
| 463 QuotaManager* manager_; // only accessed on the io thread | 464 QuotaManager* manager_; // only accessed on the io thread |
| 464 scoped_refptr<base::SingleThreadTaskRunner> io_thread_; | 465 scoped_refptr<base::SingleThreadTaskRunner> io_thread_; |
| 465 | 466 |
| 466 DISALLOW_COPY_AND_ASSIGN(QuotaManagerProxy); | 467 DISALLOW_COPY_AND_ASSIGN(QuotaManagerProxy); |
| 467 }; | 468 }; |
| 468 | 469 |
| 469 } // namespace quota | 470 } // namespace quota |
| 470 | 471 |
| 471 #endif // WEBKIT_QUOTA_QUOTA_MANAGER_H_ | 472 #endif // WEBKIT_BROWSER_QUOTA_QUOTA_MANAGER_H_ |
| OLD | NEW |