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

Unified Diff: content/test/plugin/plugin_geturl_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_geturl_test.h
diff --git a/content/test/plugin/plugin_geturl_test.h b/content/test/plugin/plugin_geturl_test.h
index 48a7e74881c3a58314266f3a72037230521e7db0..6d35d5f1c7bda45925478b3e29bc8b6d87645c64 100644
--- a/content/test/plugin/plugin_geturl_test.h
+++ b/content/test/plugin/plugin_geturl_test.h
@@ -22,25 +22,29 @@ class PluginGetURLTest : public PluginTest {
public:
// Constructor.
PluginGetURLTest(NPP id, NPNetscapeFuncs *host_functions);
- virtual ~PluginGetURLTest();
+ ~PluginGetURLTest() override;
//
// NPAPI functions
//
- virtual NPError New(uint16 mode, int16 argc, const char* argn[],
- const char* argv[], NPSavedData* saved) override;
- virtual NPError SetWindow(NPWindow* pNPWindow) override;
- virtual NPError NewStream(NPMIMEType type, NPStream* stream,
- NPBool seekable, uint16* stype) override;
- virtual int32 WriteReady(NPStream *stream) override;
- virtual int32 Write(NPStream *stream, int32 offset, int32 len,
- void *buffer) override;
- virtual NPError DestroyStream(NPStream *stream, NPError reason) override;
- virtual void StreamAsFile(NPStream* stream, const char* fname) override;
- virtual void URLNotify(const char* url, NPReason reason,
- void* data) override;
- virtual void URLRedirectNotify(const char* url, int32_t status,
- void* notify_data) override;
+ NPError New(uint16 mode,
+ int16 argc,
+ const char* argn[],
+ const char* argv[],
+ NPSavedData* saved) override;
+ NPError SetWindow(NPWindow* pNPWindow) override;
+ NPError NewStream(NPMIMEType type,
+ NPStream* stream,
+ NPBool seekable,
+ uint16* stype) override;
+ int32 WriteReady(NPStream* stream) override;
+ int32 Write(NPStream* stream, int32 offset, int32 len, void* buffer) override;
+ NPError DestroyStream(NPStream* stream, NPError reason) override;
+ void StreamAsFile(NPStream* stream, const char* fname) override;
+ void URLNotify(const char* url, NPReason reason, void* data) override;
+ void URLRedirectNotify(const char* url,
+ int32_t status,
+ void* notify_data) override;
private:
bool tests_started_;
« no previous file with comments | « content/test/plugin/plugin_get_javascript_url_test.h ('k') | content/test/plugin/plugin_javascript_open_popup.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698