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_CHILD_QUOTA_MESSAGE_FILTER_H_ | 5 #ifndef CONTENT_CHILD_QUOTA_MESSAGE_FILTER_H_ |
6 #define CONTENT_CHILD_QUOTA_MESSAGE_FILTER_H_ | 6 #define CONTENT_CHILD_QUOTA_MESSAGE_FILTER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
| 10 #include "base/memory/ref_counted.h" |
10 #include "base/synchronization/lock.h" | 11 #include "base/synchronization/lock.h" |
11 #include "content/child/child_message_filter.h" | 12 #include "content/child/child_message_filter.h" |
12 | 13 |
13 namespace base { | 14 namespace base { |
14 class MessageLoopProxy; | 15 class MessageLoopProxy; |
15 } | 16 } |
16 | 17 |
17 namespace content { | 18 namespace content { |
18 | 19 |
19 class ThreadSafeSender; | 20 class ThreadSafeSender; |
(...skipping 27 matching lines...) Expand all Loading... |
47 base::Lock request_id_map_lock_; | 48 base::Lock request_id_map_lock_; |
48 RequestIdToThreadId request_id_map_; | 49 RequestIdToThreadId request_id_map_; |
49 int next_request_id_; | 50 int next_request_id_; |
50 | 51 |
51 DISALLOW_COPY_AND_ASSIGN(QuotaMessageFilter); | 52 DISALLOW_COPY_AND_ASSIGN(QuotaMessageFilter); |
52 }; | 53 }; |
53 | 54 |
54 } // namespace content | 55 } // namespace content |
55 | 56 |
56 #endif // CONTENT_CHILD_QUOTA_MESSAGE_FILTER_H_ | 57 #endif // CONTENT_CHILD_QUOTA_MESSAGE_FILTER_H_ |
OLD | NEW |