| 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_PPB_BROKER_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_BROKER_IMPL_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PPB_BROKER_IMPL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPB_BROKER_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "ppapi/c/pp_completion_callback.h" | 9 #include "ppapi/c/pp_completion_callback.h" |
| 10 #include "ppapi/c/trusted/ppb_broker_trusted.h" | 10 #include "ppapi/c/trusted/ppb_broker_trusted.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 private: | 38 private: |
| 39 // PluginDelegate ppapi broker object. | 39 // PluginDelegate ppapi broker object. |
| 40 // We don't own this pointer but are responsible for calling Release on it. | 40 // We don't own this pointer but are responsible for calling Release on it. |
| 41 PluginDelegate::PpapiBroker* broker_; | 41 PluginDelegate::PpapiBroker* broker_; |
| 42 | 42 |
| 43 // Callback invoked from BrokerConnected. | 43 // Callback invoked from BrokerConnected. |
| 44 scoped_refptr<TrackedCompletionCallback> connect_callback_; | 44 scoped_refptr<TrackedCompletionCallback> connect_callback_; |
| 45 | 45 |
| 46 // Pipe handle for the plugin instance to use to communicate with the broker. | 46 // Pipe handle for the plugin instance to use to communicate with the broker. |
| 47 // Never owned by this object. |
| 47 int32_t pipe_handle_; | 48 int32_t pipe_handle_; |
| 48 | 49 |
| 49 DISALLOW_COPY_AND_ASSIGN(PPB_Broker_Impl); | 50 DISALLOW_COPY_AND_ASSIGN(PPB_Broker_Impl); |
| 50 }; | 51 }; |
| 51 | 52 |
| 52 } // namespace ppapi | 53 } // namespace ppapi |
| 53 } // namespace webkit | 54 } // namespace webkit |
| 54 | 55 |
| 55 #endif // WEBKIT_PLUGINS_PPAPI_PPB_BROKER_IMPL_H_ | 56 #endif // WEBKIT_PLUGINS_PPAPI_PPB_BROKER_IMPL_H_ |
| OLD | NEW |