| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <list> | 10 #include <list> |
| 11 #include <map> | 11 #include <map> |
| 12 #include <string> | 12 #include <string> |
| 13 | 13 |
| 14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
| 15 #include "base/callback.h" | 15 #include "base/callback.h" |
| 16 #include "base/file_path.h" | 16 #include "base/file_path.h" |
| 17 #include "base/memory/ref_counted.h" |
| 17 #include "base/memory/scoped_callback_factory.h" | 18 #include "base/memory/scoped_callback_factory.h" |
| 18 #include "base/memory/scoped_ptr.h" | 19 #include "base/memory/scoped_ptr.h" |
| 19 #include "base/memory/ref_counted.h" | |
| 20 #include "webkit/quota/quota_client.h" | 20 #include "webkit/quota/quota_client.h" |
| 21 #include "webkit/quota/quota_task.h" | 21 #include "webkit/quota/quota_task.h" |
| 22 #include "webkit/quota/quota_types.h" | 22 #include "webkit/quota/quota_types.h" |
| 23 | 23 |
| 24 namespace base { | 24 namespace base { |
| 25 class MessageLoopProxy; | 25 class MessageLoopProxy; |
| 26 } | 26 } |
| 27 class FilePath; | 27 class FilePath; |
| 28 | 28 |
| 29 namespace quota { | 29 namespace quota { |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 QuotaManager* manager_; // only accessed on the io thread | 207 QuotaManager* manager_; // only accessed on the io thread |
| 208 scoped_refptr<base::MessageLoopProxy> io_thread_; | 208 scoped_refptr<base::MessageLoopProxy> io_thread_; |
| 209 | 209 |
| 210 DISALLOW_COPY_AND_ASSIGN(QuotaManagerProxy); | 210 DISALLOW_COPY_AND_ASSIGN(QuotaManagerProxy); |
| 211 }; | 211 }; |
| 212 | 212 |
| 213 | 213 |
| 214 } // namespace quota | 214 } // namespace quota |
| 215 | 215 |
| 216 #endif // WEBKIT_QUOTA_QUOTA_MANAGER_H_ | 216 #endif // WEBKIT_QUOTA_QUOTA_MANAGER_H_ |
| OLD | NEW |