OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 CHROME_COMMON_IPC_CHANNEL_PROXY_H__ | 5 #ifndef CHROME_COMMON_IPC_CHANNEL_PROXY_H__ |
6 #define CHROME_COMMON_IPC_CHANNEL_PROXY_H__ | 6 #define CHROME_COMMON_IPC_CHANNEL_PROXY_H__ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 #include "base/lock.h" | 9 |
10 #include "base/ref_counted.h" | 10 #include "base/ref_counted.h" |
11 #include "chrome/common/ipc_channel.h" | 11 #include "chrome/common/ipc_channel.h" |
12 | 12 |
13 class MessageLoop; | 13 class MessageLoop; |
14 | 14 |
15 namespace IPC { | 15 namespace IPC { |
16 | 16 |
17 //----------------------------------------------------------------------------- | 17 //----------------------------------------------------------------------------- |
18 // IPC::ChannelProxy | 18 // IPC::ChannelProxy |
19 // | 19 // |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 | 200 |
201 // By maintaining this indirection (ref-counted) to our internal state, we | 201 // By maintaining this indirection (ref-counted) to our internal state, we |
202 // can safely be destroyed while the background thread continues to do stuff | 202 // can safely be destroyed while the background thread continues to do stuff |
203 // that involves this data. | 203 // that involves this data. |
204 scoped_refptr<Context> context_; | 204 scoped_refptr<Context> context_; |
205 }; | 205 }; |
206 | 206 |
207 } // namespace IPC | 207 } // namespace IPC |
208 | 208 |
209 #endif // CHROME_COMMON_IPC_CHANNEL_PROXY_H__ | 209 #endif // CHROME_COMMON_IPC_CHANNEL_PROXY_H__ |
OLD | NEW |