Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(353)

Side by Side Diff: content/test/plugin/plugin_delete_plugin_in_deallocate_test.cc

Issue 19697013: Move NPAPI test plugin to content/test/plugin. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698