| 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 CONTENT_RENDERER_PEPPER_MESSAGE_CHANNEL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_MESSAGE_CHANNEL_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_MESSAGE_CHANNEL_H_ | 6 #define CONTENT_RENDERER_PEPPER_MESSAGE_CHANNEL_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <list> | 9 #include <list> |
| 10 #include <map> | 10 #include <map> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "content/renderer/pepper/v8_var_converter.h" | 14 #include "content/renderer/pepper/v8_var_converter.h" |
| 15 #include "gin/handle.h" | 15 #include "gin/handle.h" |
| 16 #include "gin/interceptor.h" | 16 #include "gin/interceptor.h" |
| 17 #include "gin/wrappable.h" | 17 #include "gin/wrappable.h" |
| 18 #include "ppapi/proxy/host_dispatcher.h" | 18 #include "ppapi/proxy/host_dispatcher.h" |
| 19 #include "ppapi/shared_impl/resource.h" | 19 #include "ppapi/shared_impl/resource.h" |
| 20 #include "third_party/WebKit/public/web/WebSerializedScriptValue.h" | 20 #include "third_party/WebKit/public/web/WebSerializedScriptValue.h" |
| 21 #include "v8/include/v8-util.h" | 21 #include "v8/include/v8-util.h" |
| 22 #include "v8/include/v8.h" | 22 #include "v8/include/v8.h" |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 // This is used to ensure pending tasks will not fire after this object is | 201 // This is used to ensure pending tasks will not fire after this object is |
| 202 // destroyed. | 202 // destroyed. |
| 203 base::WeakPtrFactory<MessageChannel> weak_ptr_factory_; | 203 base::WeakPtrFactory<MessageChannel> weak_ptr_factory_; |
| 204 | 204 |
| 205 DISALLOW_COPY_AND_ASSIGN(MessageChannel); | 205 DISALLOW_COPY_AND_ASSIGN(MessageChannel); |
| 206 }; | 206 }; |
| 207 | 207 |
| 208 } // namespace content | 208 } // namespace content |
| 209 | 209 |
| 210 #endif // CONTENT_RENDERER_PEPPER_MESSAGE_CHANNEL_H_ | 210 #endif // CONTENT_RENDERER_PEPPER_MESSAGE_CHANNEL_H_ |
| OLD | NEW |