OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 WEBKIT_PLUGINS_PPAPI_MESSAGE_CHANNEL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_MESSAGE_CHANNEL_H_ |
6 #define WEBKIT_PLUGINS_PPAPI_MESSAGE_CHANNEL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_MESSAGE_CHANNEL_H_ |
7 | 7 |
8 #include "base/task.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "ppapi/shared_impl/resource.h" | 9 #include "ppapi/shared_impl/resource.h" |
10 #include "third_party/npapi/bindings/npruntime.h" | 10 #include "third_party/npapi/bindings/npruntime.h" |
11 | 11 |
12 struct PP_Var; | 12 struct PP_Var; |
13 namespace WebKit { | 13 namespace WebKit { |
14 class WebSerializedScriptValue; | 14 class WebSerializedScriptValue; |
15 } | 15 } |
16 | 16 |
17 namespace webkit { | 17 namespace webkit { |
18 namespace ppapi { | 18 namespace ppapi { |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 // destroyed. | 95 // destroyed. |
96 base::WeakPtrFactory<MessageChannel> weak_ptr_factory_; | 96 base::WeakPtrFactory<MessageChannel> weak_ptr_factory_; |
97 | 97 |
98 DISALLOW_COPY_AND_ASSIGN(MessageChannel); | 98 DISALLOW_COPY_AND_ASSIGN(MessageChannel); |
99 }; | 99 }; |
100 | 100 |
101 } // namespace ppapi | 101 } // namespace ppapi |
102 } // namespace webkit | 102 } // namespace webkit |
103 | 103 |
104 #endif // WEBKIT_PLUGINS_PPAPI_MESSAGE_CHANNEL_H_ | 104 #endif // WEBKIT_PLUGINS_PPAPI_MESSAGE_CHANNEL_H_ |
105 | |
OLD | NEW |