| 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 <stddef.h> |
| 9 |
| 8 #include <map> | 10 #include <map> |
| 9 #include <set> | 11 #include <set> |
| 10 | 12 |
| 11 #include "base/basictypes.h" | 13 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 13 #include "base/threading/non_thread_safe.h" | 15 #include "base/threading/non_thread_safe.h" |
| 14 #include "content/browser/streams/stream_register_observer.h" | 16 #include "content/browser/streams/stream_register_observer.h" |
| 15 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
| 16 #include "url/gurl.h" | 18 #include "url/gurl.h" |
| 17 | 19 |
| 18 namespace content { | 20 namespace content { |
| 19 | 21 |
| 20 class Stream; | 22 class Stream; |
| 21 | 23 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 // Maximum amount of memory allowed to use for Stream instances registered | 73 // Maximum amount of memory allowed to use for Stream instances registered |
| 72 // with this registry. | 74 // with this registry. |
| 73 size_t max_memory_usage_; | 75 size_t max_memory_usage_; |
| 74 | 76 |
| 75 DISALLOW_COPY_AND_ASSIGN(StreamRegistry); | 77 DISALLOW_COPY_AND_ASSIGN(StreamRegistry); |
| 76 }; | 78 }; |
| 77 | 79 |
| 78 } // namespace content | 80 } // namespace content |
| 79 | 81 |
| 80 #endif // CONTENT_BROWSER_STREAMS_STREAM_REGISTRY_H_ | 82 #endif // CONTENT_BROWSER_STREAMS_STREAM_REGISTRY_H_ |
| OLD | NEW |