| 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_MESSAGE_PORT_SERVICE_H_ | 5 #ifndef CONTENT_BROWSER_MESSAGE_PORT_SERVICE_H_ |
| 6 #define CONTENT_BROWSER_MESSAGE_PORT_SERVICE_H_ | 6 #define CONTENT_BROWSER_MESSAGE_PORT_SERVICE_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/singleton.h" | 13 #include "base/memory/singleton.h" |
| 14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
| 15 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
| 16 #include "content/public/common/message_port_types.h" | 16 #include "content/public/common/message_port_types.h" |
| 17 #include "ipc/ipc_message.h" | 17 #include "ipc/ipc_message.h" |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| 20 class MessagePortDelegate; | 20 class MessagePortDelegate; |
| 21 | 21 |
| 22 class CONTENT_EXPORT MessagePortService { | 22 class CONTENT_EXPORT MessagePortService { |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 | 96 |
| 97 // We need globally unique identifiers for each message port. | 97 // We need globally unique identifiers for each message port. |
| 98 int next_message_port_id_; | 98 int next_message_port_id_; |
| 99 | 99 |
| 100 DISALLOW_COPY_AND_ASSIGN(MessagePortService); | 100 DISALLOW_COPY_AND_ASSIGN(MessagePortService); |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 } // namespace content | 103 } // namespace content |
| 104 | 104 |
| 105 #endif // CONTENT_BROWSER_MESSAGE_PORT_SERVICE_H_ | 105 #endif // CONTENT_BROWSER_MESSAGE_PORT_SERVICE_H_ |
| OLD | NEW |