OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_STREAMS_STREAM_REGISTRY_H_ | 5 #ifndef CONTENT_BROWSER_STREAMS_STREAM_REGISTRY_H_ |
6 #define CONTENT_BROWSER_STREAMS_STREAM_REGISTRY_H_ | 6 #define CONTENT_BROWSER_STREAMS_STREAM_REGISTRY_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
| 9 #include <set> |
9 | 10 |
10 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
11 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "base/threading/non_thread_safe.h" | 13 #include "base/threading/non_thread_safe.h" |
13 #include "content/browser/streams/stream_register_observer.h" | 14 #include "content/browser/streams/stream_register_observer.h" |
14 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
16 | 17 |
17 namespace content { | 18 namespace content { |
18 | 19 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // Maximum amount of memory allowed to use for Stream instances registered | 71 // Maximum amount of memory allowed to use for Stream instances registered |
71 // with this registry. | 72 // with this registry. |
72 size_t max_memory_usage_; | 73 size_t max_memory_usage_; |
73 | 74 |
74 DISALLOW_COPY_AND_ASSIGN(StreamRegistry); | 75 DISALLOW_COPY_AND_ASSIGN(StreamRegistry); |
75 }; | 76 }; |
76 | 77 |
77 } // namespace content | 78 } // namespace content |
78 | 79 |
79 #endif // CONTENT_BROWSER_STREAMS_STREAM_REGISTRY_H_ | 80 #endif // CONTENT_BROWSER_STREAMS_STREAM_REGISTRY_H_ |
OLD | NEW |