| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PROTOCOL_STREAM_CHANNEL_FACTORY_H_ | 5 #ifndef REMOTING_PROTOCOL_STREAM_CHANNEL_FACTORY_H_ |
| 6 #define REMOTING_PROTOCOL_STREAM_CHANNEL_FACTORY_H_ | 6 #define REMOTING_PROTOCOL_STREAM_CHANNEL_FACTORY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback.h" | 10 #include "base/callback.h" |
| 11 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/threading/non_thread_safe.h" | 13 #include "base/threading/non_thread_safe.h" |
| 13 | 14 |
| 14 namespace remoting { | 15 namespace remoting { |
| 15 namespace protocol { | 16 namespace protocol { |
| 16 | 17 |
| 17 class P2PStreamSocket; | 18 class P2PStreamSocket; |
| 18 | 19 |
| 19 class StreamChannelFactory : public base::NonThreadSafe { | 20 class StreamChannelFactory : public base::NonThreadSafe { |
| 20 public: | 21 public: |
| (...skipping 21 matching lines...) Expand all Loading... |
| 42 virtual ~StreamChannelFactory() {} | 43 virtual ~StreamChannelFactory() {} |
| 43 | 44 |
| 44 private: | 45 private: |
| 45 DISALLOW_COPY_AND_ASSIGN(StreamChannelFactory); | 46 DISALLOW_COPY_AND_ASSIGN(StreamChannelFactory); |
| 46 }; | 47 }; |
| 47 | 48 |
| 48 } // namespace protocol | 49 } // namespace protocol |
| 49 } // namespace remoting | 50 } // namespace remoting |
| 50 | 51 |
| 51 #endif // REMOTING_PROTOCOL_STREAM_CHANNEL_FACTORY_H_ | 52 #endif // REMOTING_PROTOCOL_STREAM_CHANNEL_FACTORY_H_ |
| OLD | NEW |