| 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_client.h" | 5 #include "content/test/plugin/plugin_client.h" |
| 6 | 6 |
| 7 #include "base/strings/string_util.h" | 7 #include "base/strings/string_util.h" |
| 8 #include "webkit/plugins/npapi/test/plugin_execute_stream_javascript.h" | 8 #include "content/test/plugin/plugin_execute_stream_javascript.h" |
| 9 #include "webkit/plugins/npapi/test/plugin_test.h" | 9 #include "content/test/plugin/plugin_test.h" |
| 10 #include "webkit/plugins/npapi/test/plugin_test_factory.h" | 10 #include "content/test/plugin/plugin_test_factory.h" |
| 11 | 11 |
| 12 namespace NPAPIClient { | 12 namespace NPAPIClient { |
| 13 | 13 |
| 14 NPNetscapeFuncs* PluginClient::host_functions_; | 14 NPNetscapeFuncs* PluginClient::host_functions_; |
| 15 | 15 |
| 16 NPError PluginClient::GetEntryPoints(NPPluginFuncs* pFuncs) { | 16 NPError PluginClient::GetEntryPoints(NPPluginFuncs* pFuncs) { |
| 17 if (pFuncs == NULL) | 17 if (pFuncs == NULL) |
| 18 return NPERR_INVALID_FUNCTABLE_ERROR; | 18 return NPERR_INVALID_FUNCTABLE_ERROR; |
| 19 | 19 |
| 20 if (pFuncs->size < sizeof(NPPluginFuncs)) | 20 if (pFuncs->size < sizeof(NPPluginFuncs)) |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 } | 261 } |
| 262 } | 262 } |
| 263 | 263 |
| 264 NPError NPP_ClearSiteData(const char* site, | 264 NPError NPP_ClearSiteData(const char* site, |
| 265 uint64 flags, | 265 uint64 flags, |
| 266 uint64 max_age) { | 266 uint64 max_age) { |
| 267 LOG(INFO) << "NPP_ClearSiteData called"; | 267 LOG(INFO) << "NPP_ClearSiteData called"; |
| 268 return NPERR_NO_ERROR; | 268 return NPERR_NO_ERROR; |
| 269 } | 269 } |
| 270 } // extern "C" | 270 } // extern "C" |
| OLD | NEW |