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

Unified Diff: ppapi/native_client/src/trusted/plugin/plugin.h

Issue 868273002: NaCl: Fix Chromium style warnings in src/trusted/plugin/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 5 years, 11 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: ppapi/native_client/src/trusted/plugin/plugin.h
diff --git a/ppapi/native_client/src/trusted/plugin/plugin.h b/ppapi/native_client/src/trusted/plugin/plugin.h
index 634a11102d53c6c042340485ca28eb0e037530aa..b1855f969965f1fddcc991d474604f1ddca389c0 100644
--- a/ppapi/native_client/src/trusted/plugin/plugin.h
+++ b/ppapi/native_client/src/trusted/plugin/plugin.h
@@ -63,10 +63,10 @@ class Plugin : public pp::Instance {
// Initializes this plugin with <embed/object ...> tag attribute count |argc|,
// names |argn| and values |argn|. Returns false on failure.
// Gets called by the browser right after New().
- virtual bool Init(uint32_t argc, const char* argn[], const char* argv[]);
+ bool Init(uint32_t argc, const char* argn[], const char* argv[]) override;
// Handles document load, when the plugin is a MIME type handler.
- virtual bool HandleDocumentLoad(const pp::URLLoader& url_loader);
+ bool HandleDocumentLoad(const pp::URLLoader& url_loader) override;
// Load support.
//
@@ -108,7 +108,7 @@ class Plugin : public pp::Instance {
NACL_DISALLOW_COPY_AND_ASSIGN(Plugin);
// The browser will invoke the destructor via the pp::Instance
// pointer to this object, not from base's Delete().
- ~Plugin();
+ ~Plugin() override;
// Shuts down socket connection, service runtime, and receive thread,
// in this order, for the main nacl subprocess.

Powered by Google App Engine
This is Rietveld 408576698