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

Unified Diff: content/test/plugin/plugin_npobject_lifetime_test.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: content/test/plugin/plugin_npobject_lifetime_test.h
diff --git a/content/test/plugin/plugin_npobject_lifetime_test.h b/content/test/plugin/plugin_npobject_lifetime_test.h
index 09c2d065aabfa3ac3290b69f3df6b0e361c2e717..f1abed22e1b65943fd56ef1cd3c821df795d4400 100644
--- a/content/test/plugin/plugin_npobject_lifetime_test.h
+++ b/content/test/plugin/plugin_npobject_lifetime_test.h
@@ -21,11 +21,9 @@ class NPObjectLifetimeTest : public PluginTest {
NPObjectLifetimeTest(NPP id, NPNetscapeFuncs *host_functions);
// NPAPI SetWindow handler.
- virtual NPError SetWindow(NPWindow* pNPWindow) override;
+ NPError SetWindow(NPWindow* pNPWindow) override;
- virtual void URLNotify(const char* url,
- NPReason reason,
- void* data) override;
+ void URLNotify(const char* url, NPReason reason, void* data) override;
protected:
NPObject* other_plugin_instance_object_;
@@ -44,10 +42,11 @@ class NPObjectLifetimeTestInstance2 : public PluginTest {
public:
// Constructor.
NPObjectLifetimeTestInstance2(NPP id, NPNetscapeFuncs *host_functions);
- virtual ~NPObjectLifetimeTestInstance2();
+ ~NPObjectLifetimeTestInstance2() override;
// NPAPI SetWindow handler.
- virtual NPError SetWindow(NPWindow* pNPWindow) override;
+ NPError SetWindow(NPWindow* pNPWindow) override;
+
protected:
static NPObject* plugin_instance_object_;
friend class NPObjectLifetimeTest;
@@ -61,10 +60,10 @@ class NPObjectDeletePluginInNPN_Evaluate : public PluginTest {
public:
// Constructor.
NPObjectDeletePluginInNPN_Evaluate(NPP id, NPNetscapeFuncs *host_functions);
- virtual ~NPObjectDeletePluginInNPN_Evaluate();
+ ~NPObjectDeletePluginInNPN_Evaluate() override;
// NPAPI SetWindow handler.
- virtual NPError SetWindow(NPWindow* pNPWindow) override;
+ NPError SetWindow(NPWindow* pNPWindow) override;
protected:
NPObject* plugin_instance_object_;
« no previous file with comments | « content/test/plugin/plugin_npobject_identity_test.h ('k') | content/test/plugin/plugin_npobject_proxy_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698