OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_delete_plugin_in_deallocate_test.h" | 5 #include "content/test/plugin/plugin_delete_plugin_in_deallocate_test.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 | 9 |
10 namespace { | 10 namespace { |
11 | 11 |
12 NPAPIClient::DeletePluginInDeallocateTest* g_signalling_instance_ = NULL; | 12 NPAPIClient::DeletePluginInDeallocateTest* g_signalling_instance_ = NULL; |
13 | 13 |
14 class DeletePluginInDeallocateTestNPObject : public NPObject { | 14 class DeletePluginInDeallocateTestNPObject : public NPObject { |
15 public: | 15 public: |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 "Object was not deallocated exactly once."); | 144 "Object was not deallocated exactly once."); |
145 delete test_object; | 145 delete test_object; |
146 } | 146 } |
147 | 147 |
148 g_signalling_instance_->SignalTestCompleted(); | 148 g_signalling_instance_->SignalTestCompleted(); |
149 | 149 |
150 return NPERR_NO_ERROR; | 150 return NPERR_NO_ERROR; |
151 } | 151 } |
152 | 152 |
153 } // namespace NPAPIClient | 153 } // namespace NPAPIClient |
OLD | NEW |