OLD | NEW |
1 // Copyright (c) 2010 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 #include "webkit/plugins/npapi/test/plugin_test.h" | 5 #include "webkit/glue/plugins/test/plugin_test.h" |
6 | 6 |
7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
8 #include "webkit/plugins/npapi/test/npapi_constants.h" | 8 #include "webkit/glue/plugins/test/npapi_constants.h" |
9 | 9 |
10 namespace NPAPIClient { | 10 namespace NPAPIClient { |
11 | 11 |
12 PluginTest::PluginTest(NPP id, NPNetscapeFuncs *host_functions) { | 12 PluginTest::PluginTest(NPP id, NPNetscapeFuncs *host_functions) { |
13 id_ = id; | 13 id_ = id; |
14 id_->pdata = this; | 14 id_->pdata = this; |
15 host_functions_ = host_functions; | 15 host_functions_ = host_functions; |
16 test_completed_ = false; | 16 test_completed_ = false; |
17 } | 17 } |
18 | 18 |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 // There is no default action | 146 // There is no default action |
147 return 0; | 147 return 0; |
148 } | 148 } |
149 | 149 |
150 void PluginTest::URLRedirectNotify(const char* url, int32_t status, | 150 void PluginTest::URLRedirectNotify(const char* url, int32_t status, |
151 void* notify_data) { | 151 void* notify_data) { |
152 // There is no default action | 152 // There is no default action |
153 } | 153 } |
154 | 154 |
155 } // namespace NPAPIClient | 155 } // namespace NPAPIClient |
OLD | NEW |