| 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 "webkit/plugins/npapi/test/plugin_execute_stream_javascript.h" | 5 #include "content/test/plugin/plugin_execute_stream_javascript.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "webkit/plugins/npapi/test/plugin_client.h" | 8 #include "content/test/plugin/plugin_client.h" |
| 9 | 9 |
| 10 namespace NPAPIClient { | 10 namespace NPAPIClient { |
| 11 | 11 |
| 12 static const int kMaxLength = 4096; | 12 static const int kMaxLength = 4096; |
| 13 | 13 |
| 14 ExecuteStreamJavaScript::ExecuteStreamJavaScript( | 14 ExecuteStreamJavaScript::ExecuteStreamJavaScript( |
| 15 NPP id, NPNetscapeFuncs *host_functions) | 15 NPP id, NPNetscapeFuncs *host_functions) |
| 16 : PluginTest(id, host_functions) { | 16 : PluginTest(id, host_functions) { |
| 17 } | 17 } |
| 18 | 18 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 | 56 |
| 57 return len; | 57 return len; |
| 58 } | 58 } |
| 59 | 59 |
| 60 NPError ExecuteStreamJavaScript::DestroyStream(NPStream *stream, | 60 NPError ExecuteStreamJavaScript::DestroyStream(NPStream *stream, |
| 61 NPError reason) { | 61 NPError reason) { |
| 62 return NPERR_NO_ERROR; | 62 return NPERR_NO_ERROR; |
| 63 } | 63 } |
| 64 | 64 |
| 65 } // namespace NPAPIClient | 65 } // namespace NPAPIClient |
| OLD | NEW |