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 CONTENT_COMMON_QUOTA_DISPATCHER_H_ | 5 #ifndef CONTENT_CHILD_QUOTA_DISPATCHER_H_ |
6 #define CONTENT_COMMON_QUOTA_DISPATCHER_H_ | 6 #define CONTENT_CHILD_QUOTA_DISPATCHER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/id_map.h" | 12 #include "base/id_map.h" |
13 #include "ipc/ipc_listener.h" | 13 #include "ipc/ipc_listener.h" |
14 #include "webkit/common/quota/quota_types.h" | 14 #include "webkit/common/quota/quota_types.h" |
15 | 15 |
16 class GURL; | 16 class GURL; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 int64 granted_quota); | 66 int64 granted_quota); |
67 void DidFail(int request_id, quota::QuotaStatusCode error); | 67 void DidFail(int request_id, quota::QuotaStatusCode error); |
68 | 68 |
69 IDMap<Callback, IDMapOwnPointer> pending_quota_callbacks_; | 69 IDMap<Callback, IDMapOwnPointer> pending_quota_callbacks_; |
70 | 70 |
71 DISALLOW_COPY_AND_ASSIGN(QuotaDispatcher); | 71 DISALLOW_COPY_AND_ASSIGN(QuotaDispatcher); |
72 }; | 72 }; |
73 | 73 |
74 } // namespace content | 74 } // namespace content |
75 | 75 |
76 #endif // CONTENT_COMMON_QUOTA_DISPATCHER_H_ | 76 #endif // CONTENT_CHILD_QUOTA_DISPATCHER_H_ |
OLD | NEW |