| 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_PIPE_MESSAGING_CHANNEL_H_ | 5 #ifndef REMOTING_HOST_NATIVE_MESSAGING_PIPE_MESSAGING_CHANNEL_H_ |
| 6 #define REMOTING_HOST_NATIVE_MESSAGING_PIPE_MESSAGING_CHANNEL_H_ | 6 #define REMOTING_HOST_NATIVE_MESSAGING_PIPE_MESSAGING_CHANNEL_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/files/file.h" | 9 #include "base/files/file.h" |
| 10 #include "base/macros.h" |
| 10 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
| 11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 13 #include "base/threading/non_thread_safe.h" | 14 #include "base/threading/non_thread_safe.h" |
| 14 #include "extensions/browser/api/messaging/native_messaging_channel.h" | 15 #include "extensions/browser/api/messaging/native_messaging_channel.h" |
| 15 #include "remoting/host/native_messaging/native_messaging_reader.h" | 16 #include "remoting/host/native_messaging/native_messaging_reader.h" |
| 16 #include "remoting/host/native_messaging/native_messaging_writer.h" | 17 #include "remoting/host/native_messaging/native_messaging_writer.h" |
| 17 | 18 |
| 18 namespace base { | 19 namespace base { |
| 19 class DictionaryValue; | 20 class DictionaryValue; |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 EventHandler* event_handler_; | 55 EventHandler* event_handler_; |
| 55 base::WeakPtr<PipeMessagingChannel> weak_ptr_; | 56 base::WeakPtr<PipeMessagingChannel> weak_ptr_; |
| 56 base::WeakPtrFactory<PipeMessagingChannel> weak_factory_; | 57 base::WeakPtrFactory<PipeMessagingChannel> weak_factory_; |
| 57 | 58 |
| 58 DISALLOW_COPY_AND_ASSIGN(PipeMessagingChannel); | 59 DISALLOW_COPY_AND_ASSIGN(PipeMessagingChannel); |
| 59 }; | 60 }; |
| 60 | 61 |
| 61 } // namespace remoting | 62 } // namespace remoting |
| 62 | 63 |
| 63 #endif // REMOTING_HOST_NATIVE_MESSAGING_PIPE_MESSAGING_CHANNEL_H_ | 64 #endif // REMOTING_HOST_NATIVE_MESSAGING_PIPE_MESSAGING_CHANNEL_H_ |
| OLD | NEW |