Chromium Code Reviews| 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 REMOTING_HOST_HOST_PLUGIN_UTILS_H_ | 5 #ifndef REMOTING_HOST_HOST_PLUGIN_UTILS_H_ |
|
Sergey Ulanov
2011/06/21 18:19:31
header guard name needs to be updated here and in
| |
| 6 #define REMOTING_HOST_HOST_PLUGIN_UTILS_H_ | 6 #define REMOTING_HOST_HOST_PLUGIN_UTILS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "third_party/npapi/bindings/npapi.h" | 10 #include "third_party/npapi/bindings/npapi.h" |
| 11 #include "third_party/npapi/bindings/npfunctions.h" | 11 #include "third_party/npapi/bindings/npfunctions.h" |
| 12 #include "third_party/npapi/bindings/npruntime.h" | 12 #include "third_party/npapi/bindings/npruntime.h" |
| 13 | 13 |
| 14 namespace remoting { | 14 namespace remoting { |
| 15 | 15 |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 26 // Caller is responsible for making sure that NPN_ReleaseVariantValue is | 26 // Caller is responsible for making sure that NPN_ReleaseVariantValue is |
| 27 // called on returned value. | 27 // called on returned value. |
| 28 NPVariant NPVariantFromString(const std::string& val); | 28 NPVariant NPVariantFromString(const std::string& val); |
| 29 | 29 |
| 30 // Convert an NPVariant into an NSPObject. | 30 // Convert an NPVariant into an NSPObject. |
| 31 NPObject* ObjectFromNPVariant(const NPVariant& variant); | 31 NPObject* ObjectFromNPVariant(const NPVariant& variant); |
| 32 | 32 |
| 33 } // namespace remoting | 33 } // namespace remoting |
| 34 | 34 |
| 35 #endif // REMOTING_HOST_HOST_PLUGIN_UTILS_H_ | 35 #endif // REMOTING_HOST_HOST_PLUGIN_UTILS_H_ |
| OLD | NEW |