OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include <stddef.h> |
| 6 |
5 #include <map> | 7 #include <map> |
6 | 8 |
7 #include "base/callback.h" | 9 #include "base/callback.h" |
8 #include "base/files/file.h" | 10 #include "base/files/file.h" |
9 #include "base/memory/ref_counted_delete_on_message_loop.h" | 11 #include "base/memory/ref_counted_delete_on_message_loop.h" |
10 #include "base/memory/ref_counted_memory.h" | 12 #include "base/memory/ref_counted_memory.h" |
11 | 13 |
12 namespace content { | 14 namespace content { |
13 namespace devtools { | 15 namespace devtools { |
14 | 16 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 bool Close(const std::string& handle); | 56 bool Close(const std::string& handle); |
55 void DiscardAllStreams(); | 57 void DiscardAllStreams(); |
56 | 58 |
57 private: | 59 private: |
58 using StreamsMap = std::map<std::string, scoped_refptr<Stream>>; | 60 using StreamsMap = std::map<std::string, scoped_refptr<Stream>>; |
59 StreamsMap streams_; | 61 StreamsMap streams_; |
60 }; | 62 }; |
61 | 63 |
62 } // namespace devtools | 64 } // namespace devtools |
63 } // namespace content | 65 } // namespace content |
OLD | NEW |