| 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_TYPES_H_ | 5 #ifndef WEBKIT_QUOTA_QUOTA_TYPES_H_ |
| 6 #define WEBKIT_QUOTA_QUOTA_TYPES_H_ | 6 #define WEBKIT_QUOTA_QUOTA_TYPES_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <map> | 10 #include <map> |
| 11 #include <set> |
| 11 #include <string> | 12 #include <string> |
| 12 | 13 |
| 13 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
| 14 #include "base/callback_old.h" | 15 #include "base/callback_old.h" |
| 15 #include "base/stl_util-inl.h" | 16 #include "base/stl_util.h" |
| 16 | 17 |
| 17 class GURL; | 18 class GURL; |
| 18 | 19 |
| 19 namespace quota { | 20 namespace quota { |
| 20 | 21 |
| 21 enum StorageType { | 22 enum StorageType { |
| 22 kStorageTypeTemporary, | 23 kStorageTypeTemporary, |
| 23 kStorageTypePersistent, | 24 kStorageTypePersistent, |
| 24 kStorageTypeUnknown, | 25 kStorageTypeUnknown, |
| 25 }; | 26 }; |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 const std::string&, | 273 const std::string&, |
| 273 StorageType, int64> HostUsageCallbackMap; | 274 StorageType, int64> HostUsageCallbackMap; |
| 274 typedef CallbackQueueMap4<HostQuotaCallback*, std::string, | 275 typedef CallbackQueueMap4<HostQuotaCallback*, std::string, |
| 275 QuotaStatusCode, | 276 QuotaStatusCode, |
| 276 const std::string&, | 277 const std::string&, |
| 277 StorageType, int64> HostQuotaCallbackMap; | 278 StorageType, int64> HostQuotaCallbackMap; |
| 278 | 279 |
| 279 } // namespace quota | 280 } // namespace quota |
| 280 | 281 |
| 281 #endif // WEBKIT_QUOTA_QUOTA_TYPES_H_ | 282 #endif // WEBKIT_QUOTA_QUOTA_TYPES_H_ |
| OLD | NEW |