OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 REMOTING_HOST_NATIVE_MESSAGING_NATIVE_MESSAGING_PIPE_H_ | 5 #ifndef REMOTING_HOST_NATIVE_MESSAGING_NATIVE_MESSAGING_PIPE_H_ |
6 #define REMOTING_HOST_NATIVE_MESSAGING_NATIVE_MESSAGING_PIPE_H_ | 6 #define REMOTING_HOST_NATIVE_MESSAGING_NATIVE_MESSAGING_PIPE_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
10 #include "extensions/browser/api/messaging/native_message_host.h" | 11 #include "extensions/browser/api/messaging/native_message_host.h" |
11 #include "extensions/browser/api/messaging/native_messaging_channel.h" | 12 #include "extensions/browser/api/messaging/native_messaging_channel.h" |
12 | 13 |
13 namespace base { | 14 namespace base { |
14 class Value; | 15 class Value; |
15 } | 16 } |
16 | 17 |
17 namespace remoting { | 18 namespace remoting { |
(...skipping 21 matching lines...) Expand all Loading... |
39 private: | 40 private: |
40 scoped_ptr<extensions::NativeMessagingChannel> channel_; | 41 scoped_ptr<extensions::NativeMessagingChannel> channel_; |
41 scoped_ptr<extensions::NativeMessageHost> host_; | 42 scoped_ptr<extensions::NativeMessageHost> host_; |
42 | 43 |
43 DISALLOW_COPY_AND_ASSIGN(NativeMessagingPipe); | 44 DISALLOW_COPY_AND_ASSIGN(NativeMessagingPipe); |
44 }; | 45 }; |
45 | 46 |
46 } // namespace remoting | 47 } // namespace remoting |
47 | 48 |
48 #endif // REMOTING_HOST_NATIVE_MESSAGING_NATIVE_MESSAGING_PIPE_H_ | 49 #endif // REMOTING_HOST_NATIVE_MESSAGING_NATIVE_MESSAGING_PIPE_H_ |
OLD | NEW |