| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 | 7 |
| 8 #include "native_client/src/trusted/plugin/browser_interface.h" | 8 #include "native_client/src/trusted/plugin/browser_interface.h" |
| 9 #include "native_client/src/trusted/plugin/desc_based_handle.h" | 9 #include "native_client/src/trusted/plugin/desc_based_handle.h" |
| 10 #include "native_client/src/trusted/plugin/plugin.h" | 10 #include "native_client/src/trusted/plugin/plugin.h" |
| 11 | 11 |
| 12 | 12 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 27 PLUGIN_PRINTF(("DescBasedHandle::New (wrapper=%p)\n", | 27 PLUGIN_PRINTF(("DescBasedHandle::New (wrapper=%p)\n", |
| 28 static_cast<void*>(wrapper))); | 28 static_cast<void*>(wrapper))); |
| 29 | 29 |
| 30 if (wrapper == NULL) { | 30 if (wrapper == NULL) { |
| 31 return NULL; | 31 return NULL; |
| 32 } | 32 } |
| 33 return new DescBasedHandle(wrapper); | 33 return new DescBasedHandle(wrapper); |
| 34 } | 34 } |
| 35 | 35 |
| 36 } // namespace plugin | 36 } // namespace plugin |
| OLD | NEW |