OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_BROWSER_QUOTA_DISPATCHER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_QUOTA_DISPATCHER_HOST_H_ |
6 #define CONTENT_BROWSER_QUOTA_DISPATCHER_HOST_H_ | 6 #define CONTENT_BROWSER_QUOTA_DISPATCHER_HOST_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/id_map.h" | 9 #include "base/id_map.h" |
10 #include "content/public/browser/browser_message_filter.h" | 10 #include "content/public/browser/browser_message_filter.h" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 int64 requested_size); | 53 int64 requested_size); |
54 | 54 |
55 // The ID of this process. | 55 // The ID of this process. |
56 int process_id_; | 56 int process_id_; |
57 | 57 |
58 quota::QuotaManager* quota_manager_; | 58 quota::QuotaManager* quota_manager_; |
59 scoped_refptr<QuotaPermissionContext> permission_context_; | 59 scoped_refptr<QuotaPermissionContext> permission_context_; |
60 | 60 |
61 IDMap<RequestDispatcher, IDMapOwnPointer> outstanding_requests_; | 61 IDMap<RequestDispatcher, IDMapOwnPointer> outstanding_requests_; |
62 | 62 |
| 63 base::WeakPtrFactory<QuotaDispatcherHost> weak_factory_; |
| 64 |
63 DISALLOW_IMPLICIT_CONSTRUCTORS(QuotaDispatcherHost); | 65 DISALLOW_IMPLICIT_CONSTRUCTORS(QuotaDispatcherHost); |
64 }; | 66 }; |
65 | 67 |
66 } // namespace content | 68 } // namespace content |
67 | 69 |
68 #endif // CONTENT_BROWSER_QUOTA_DISPATCHER_HOST_H_ | 70 #endif // CONTENT_BROWSER_QUOTA_DISPATCHER_HOST_H_ |
OLD | NEW |