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

Side by Side Diff: content/test/plugin/plugin_npobject_lifetime_test.h

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 #ifndef WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_NPOBJECT_LIFETIME_TEST_H_ 5 #ifndef CONTENT_TEST_PLUGIN_PLUGIN_NPOBJECT_LIFETIME_TEST_H_
6 #define WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_NPOBJECT_LIFETIME_TEST_H_ 6 #define CONTENT_TEST_PLUGIN_PLUGIN_NPOBJECT_LIFETIME_TEST_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "webkit/plugins/npapi/test/plugin_test.h" 10 #include "content/test/plugin/plugin_test.h"
11 11
12 namespace NPAPIClient { 12 namespace NPAPIClient {
13 13
14 // The NPObjectLifeTime class tests the case where a plugin has an NPObject 14 // The NPObjectLifeTime class tests the case where a plugin has an NPObject
15 // which points to a different plugin instance on a different frame in the 15 // which points to a different plugin instance on a different frame in the
16 // page and whether refcounts on this npobject are valid when the source frame 16 // page and whether refcounts on this npobject are valid when the source frame
17 // is destroyed. 17 // is destroyed.
18 class NPObjectLifetimeTest : public PluginTest { 18 class NPObjectLifetimeTest : public PluginTest {
19 public: 19 public:
20 // Constructor. 20 // Constructor.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 #endif 75 #endif
76 76
77 private: 77 private:
78 static NPObjectDeletePluginInNPN_Evaluate* g_npn_evaluate_test_instance_; 78 static NPObjectDeletePluginInNPN_Evaluate* g_npn_evaluate_test_instance_;
79 79
80 DISALLOW_IMPLICIT_CONSTRUCTORS(NPObjectDeletePluginInNPN_Evaluate); 80 DISALLOW_IMPLICIT_CONSTRUCTORS(NPObjectDeletePluginInNPN_Evaluate);
81 }; 81 };
82 82
83 } // namespace NPAPIClient 83 } // namespace NPAPIClient
84 84
85 #endif // WEBKIT_PLUGINS_NPAPI_TEST_PLUGIN_NPOBJECT_LIFETIME_TEST_H_ 85 #endif // CONTENT_TEST_PLUGIN_PLUGIN_NPOBJECT_LIFETIME_TEST_H_
OLDNEW
« no previous file with comments | « content/test/plugin/plugin_npobject_identity_test.cc ('k') | content/test/plugin/plugin_npobject_lifetime_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698