| 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 #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 "net/socket/ssl_server_socket.h" | 15 #include "net/socket/ssl_server_socket.h" |
| 16 #include "remoting/base/constants.h" |
| 16 #include "remoting/base/plugin_message_loop_proxy.h" | 17 #include "remoting/base/plugin_message_loop_proxy.h" |
| 17 #include "remoting/host/plugin/constants.h" | |
| 18 #include "remoting/host/plugin/host_log_handler.h" | 18 #include "remoting/host/plugin/host_log_handler.h" |
| 19 #include "remoting/host/plugin/host_plugin_utils.h" | 19 #include "remoting/host/plugin/host_plugin_utils.h" |
| 20 #include "remoting/host/plugin/host_script_object.h" | 20 #include "remoting/host/plugin/host_script_object.h" |
| 21 #include "third_party/npapi/bindings/npapi.h" | 21 #include "third_party/npapi/bindings/npapi.h" |
| 22 #include "third_party/npapi/bindings/npfunctions.h" | 22 #include "third_party/npapi/bindings/npfunctions.h" |
| 23 #include "third_party/npapi/bindings/npruntime.h" | 23 #include "third_party/npapi/bindings/npruntime.h" |
| 24 | 24 |
| 25 // Symbol export is handled with a separate def file on Windows. | 25 // Symbol export is handled with a separate def file on Windows. |
| 26 #if defined (__GNUC__) && __GNUC__ >= 4 | 26 #if defined (__GNUC__) && __GNUC__ >= 4 |
| 27 #define EXPORT __attribute__((visibility("default"))) | 27 #define EXPORT __attribute__((visibility("default"))) |
| (...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 } | 509 } |
| 510 | 510 |
| 511 EXPORT NPError API_CALL NP_GetValue(void* npp, | 511 EXPORT NPError API_CALL NP_GetValue(void* npp, |
| 512 NPPVariable variable, | 512 NPPVariable variable, |
| 513 void* value) { | 513 void* value) { |
| 514 return GetValue((NPP)npp, variable, value); | 514 return GetValue((NPP)npp, variable, value); |
| 515 } | 515 } |
| 516 #endif | 516 #endif |
| 517 | 517 |
| 518 } // extern "C" | 518 } // extern "C" |
| OLD | NEW |