OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/plugins/npapi/test/plugin_test.h" |
6 | 6 |
7 #include "base/string_util.h" | |
8 #include "base/strings/string_number_conversions.h" | 7 #include "base/strings/string_number_conversions.h" |
| 8 #include "base/strings/string_util.h" |
9 #include "webkit/plugins/npapi/test/npapi_constants.h" | 9 #include "webkit/plugins/npapi/test/npapi_constants.h" |
10 | 10 |
11 namespace NPAPIClient { | 11 namespace NPAPIClient { |
12 | 12 |
13 PluginTest::PluginTest(NPP id, NPNetscapeFuncs *host_functions) { | 13 PluginTest::PluginTest(NPP id, NPNetscapeFuncs *host_functions) { |
14 id_ = id; | 14 id_ = id; |
15 id_->pdata = this; | 15 id_->pdata = this; |
16 host_functions_ = host_functions; | 16 host_functions_ = host_functions; |
17 test_completed_ = false; | 17 test_completed_ = false; |
18 } | 18 } |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 // There is no default action | 190 // There is no default action |
191 return 0; | 191 return 0; |
192 } | 192 } |
193 | 193 |
194 void PluginTest::URLRedirectNotify(const char* url, int32_t status, | 194 void PluginTest::URLRedirectNotify(const char* url, int32_t status, |
195 void* notify_data) { | 195 void* notify_data) { |
196 // There is no default action | 196 // There is no default action |
197 } | 197 } |
198 | 198 |
199 } // namespace NPAPIClient | 199 } // namespace NPAPIClient |
OLD | NEW |