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_FAKE_SESSION_H_ | 5 #ifndef REMOTING_PROTOCOL_FAKE_SESSION_H_ |
6 #define REMOTING_PROTOCOL_FAKE_SESSION_H_ | 6 #define REMOTING_PROTOCOL_FAKE_SESSION_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
| 12 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
14 #include "remoting/protocol/fake_stream_socket.h" | 15 #include "remoting/protocol/fake_stream_socket.h" |
15 #include "remoting/protocol/session.h" | 16 #include "remoting/protocol/session.h" |
16 #include "remoting/protocol/transport.h" | 17 #include "remoting/protocol/transport.h" |
17 | 18 |
18 namespace remoting { | 19 namespace remoting { |
19 namespace protocol { | 20 namespace protocol { |
20 | 21 |
21 extern const char kTestJid[]; | 22 extern const char kTestJid[]; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 73 |
73 base::WeakPtrFactory<FakeSession> weak_factory_; | 74 base::WeakPtrFactory<FakeSession> weak_factory_; |
74 | 75 |
75 DISALLOW_COPY_AND_ASSIGN(FakeSession); | 76 DISALLOW_COPY_AND_ASSIGN(FakeSession); |
76 }; | 77 }; |
77 | 78 |
78 } // namespace protocol | 79 } // namespace protocol |
79 } // namespace remoting | 80 } // namespace remoting |
80 | 81 |
81 #endif // REMOTING_PROTOCOL_FAKE_SESSION_H_ | 82 #endif // REMOTING_PROTOCOL_FAKE_SESSION_H_ |
OLD | NEW |