| 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 #include <stdio.h> | 5 #include <stdio.h> |
| 6 #include <string.h> | 6 #include <string.h> |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/at_exit.h" | 11 #include "base/at_exit.h" |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/logging.h" | 13 #include "base/logging.h" |
| 14 #include "base/stringize_macros.h" | 14 #include "base/stringize_macros.h" |
| 15 #include "remoting/host/host_plugin_utils.h" | 15 #include "remoting/host/plugin/host_plugin_utils.h" |
| 16 #include "remoting/host/host_script_object.h" | 16 #include "remoting/host/plugin/host_script_object.h" |
| 17 #include "third_party/npapi/bindings/npapi.h" | 17 #include "third_party/npapi/bindings/npapi.h" |
| 18 #include "third_party/npapi/bindings/npfunctions.h" | 18 #include "third_party/npapi/bindings/npfunctions.h" |
| 19 #include "third_party/npapi/bindings/npruntime.h" | 19 #include "third_party/npapi/bindings/npruntime.h" |
| 20 | 20 |
| 21 // Symbol export is handled with a separate def file on Windows. | 21 // Symbol export is handled with a separate def file on Windows. |
| 22 #if defined (__GNUC__) && __GNUC__ >= 4 | 22 #if defined (__GNUC__) && __GNUC__ >= 4 |
| 23 #define EXPORT __attribute__((visibility("default"))) | 23 #define EXPORT __attribute__((visibility("default"))) |
| 24 #else | 24 #else |
| 25 #define EXPORT | 25 #define EXPORT |
| 26 #endif | 26 #endif |
| (...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 } | 445 } |
| 446 | 446 |
| 447 EXPORT NPError API_CALL NP_GetValue(void* npp, | 447 EXPORT NPError API_CALL NP_GetValue(void* npp, |
| 448 NPPVariable variable, | 448 NPPVariable variable, |
| 449 void* value) { | 449 void* value) { |
| 450 return GetValue((NPP)npp, variable, value); | 450 return GetValue((NPP)npp, variable, value); |
| 451 } | 451 } |
| 452 #endif | 452 #endif |
| 453 | 453 |
| 454 } // extern "C" | 454 } // extern "C" |
| OLD | NEW |