| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_PORT_PLUGINS_TEST_PLUGIN_TEST_H__ | 5 #ifndef WEBKIT_PORT_PLUGINS_TEST_PLUGIN_TEST_H__ |
| 6 #define WEBKIT_PORT_PLUGINS_TEST_PLUGIN_TEST_H__ | 6 #define WEBKIT_PORT_PLUGINS_TEST_PLUGIN_TEST_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 const char *GetArgValue(const char *name, const int16 argc, | 104 const char *GetArgValue(const char *name, const int16 argc, |
| 105 const char *argn[], const char *argv[]); | 105 const char *argn[], const char *argv[]); |
| 106 | 106 |
| 107 // Access to the list of functions provided | 107 // Access to the list of functions provided |
| 108 // by the NPAPI host. | 108 // by the NPAPI host. |
| 109 NPNetscapeFuncs *HostFunctions() { return host_functions_; } | 109 NPNetscapeFuncs *HostFunctions() { return host_functions_; } |
| 110 | 110 |
| 111 // The NPP Identifier for this plugin instance. | 111 // The NPP Identifier for this plugin instance. |
| 112 NPP id() { return id_; } | 112 NPP id() { return id_; } |
| 113 std::string test_id() { return test_id_; } | 113 std::string test_id() { return test_id_; } |
| 114 std::string test_name() { return test_name_; } |
| 114 | 115 |
| 115 private: | 116 private: |
| 116 NPP id_; | 117 NPP id_; |
| 117 NPNetscapeFuncs * host_functions_; | 118 NPNetscapeFuncs * host_functions_; |
| 118 std::string test_name_; | 119 std::string test_name_; |
| 119 std::string test_id_; | 120 std::string test_id_; |
| 120 std::string test_status_; | 121 std::string test_status_; |
| 121 }; | 122 }; |
| 122 | 123 |
| 123 } // namespace NPAPIClient | 124 } // namespace NPAPIClient |
| 124 | 125 |
| 125 #endif // WEBKIT_PORT_PLUGINS_TEST_PLUGIN_TEST_H__ | 126 #endif // WEBKIT_PORT_PLUGINS_TEST_PLUGIN_TEST_H__ |
| OLD | NEW |