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 REMOTING_HOST_NATIVE_MESSAGING_NATIVE_MESSAGING_READER_H_ | 5 #ifndef REMOTING_HOST_NATIVE_MESSAGING_NATIVE_MESSAGING_READER_H_ |
6 #define REMOTING_HOST_NATIVE_MESSAGING_NATIVE_MESSAGING_READER_H_ | 6 #define REMOTING_HOST_NATIVE_MESSAGING_NATIVE_MESSAGING_READER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/callback.h" | 8 #include "base/callback.h" |
10 #include "base/files/file.h" | 9 #include "base/files/file.h" |
| 10 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/threading/thread.h" | 13 #include "base/threading/thread.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class SequencedTaskRunner; | 16 class SequencedTaskRunner; |
17 class Value; | 17 class Value; |
18 } // namespace base | 18 } // namespace base |
19 | 19 |
20 namespace remoting { | 20 namespace remoting { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 // Allows the reader to be deleted safely even when tasks may be pending on | 63 // Allows the reader to be deleted safely even when tasks may be pending on |
64 // it. | 64 // it. |
65 base::WeakPtrFactory<NativeMessagingReader> weak_factory_; | 65 base::WeakPtrFactory<NativeMessagingReader> weak_factory_; |
66 | 66 |
67 DISALLOW_COPY_AND_ASSIGN(NativeMessagingReader); | 67 DISALLOW_COPY_AND_ASSIGN(NativeMessagingReader); |
68 }; | 68 }; |
69 | 69 |
70 } // namespace remoting | 70 } // namespace remoting |
71 | 71 |
72 #endif // REMOTING_HOST_NATIVE_MESSAGING_NATIVE_MESSAGING_READER_H_ | 72 #endif // REMOTING_HOST_NATIVE_MESSAGING_NATIVE_MESSAGING_READER_H_ |
OLD | NEW |