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