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

Unified Diff: content/shell/tools/plugin/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp

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/shell/tools/plugin/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp
diff --git a/content/shell/tools/plugin/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp b/content/shell/tools/plugin/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp
index ac6b6355c074380541fbeeb9512b170fb7075ffd..e9131a76f1d30d5f4e047b69d9ded4f4f66ec30d 100644
--- a/content/shell/tools/plugin/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp
+++ b/content/shell/tools/plugin/Tests/GetURLNotifyWithURLThatFailsToLoad.cpp
@@ -45,18 +45,19 @@ public:
}
private:
- virtual NPError NPP_New(NPMIMEType pluginType,
- uint16_t mode,
- int16_t argc,
- char* argn[],
- char* argv[],
- NPSavedData* saved) override {
+ NPError NPP_New(NPMIMEType pluginType,
+ uint16_t mode,
+ int16_t argc,
+ char* argn[],
+ char* argv[],
+ NPSavedData* saved) override {
NPN_GetURLNotify(urlThatFailsToLoad, 0, reinterpret_cast<void*>(0x12345678));
return NPERR_NO_ERROR;
}
- virtual bool NPP_URLNotify(const char* url, NPReason reason, void* notifyData) override
- {
+ bool NPP_URLNotify(const char* url,
+ NPReason reason,
+ void* notifyData) override {
bool didFail = false;
if (strcmp(url, urlThatFailsToLoad))
« no previous file with comments | « content/shell/tools/plugin/Tests/FormValue.cpp ('k') | content/shell/tools/plugin/Tests/GetURLWithJavaScriptURL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698