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

Unified Diff: mojo/edk/test/scoped_ipc_support.h

Issue 1435043002: EDK: Sprinkle some more |final| secret sauce. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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
« no previous file with comments | « mojo/edk/test/multiprocess_test_helper.h ('k') | mojo/edk/util/command_line.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/test/scoped_ipc_support.h
diff --git a/mojo/edk/test/scoped_ipc_support.h b/mojo/edk/test/scoped_ipc_support.h
index c591054e4571247a06d0ab37340889b26c511d8d..48395e5d85aeda1997a6e6d6b7a13654776b20c5 100644
--- a/mojo/edk/test/scoped_ipc_support.h
+++ b/mojo/edk/test/scoped_ipc_support.h
@@ -20,7 +20,7 @@ namespace test {
namespace internal {
-class ScopedIPCSupportHelper {
+class ScopedIPCSupportHelper final {
public:
ScopedIPCSupportHelper();
~ScopedIPCSupportHelper();
@@ -47,7 +47,7 @@ class ScopedIPCSupportHelper {
// |ProcessType::NONE|) on construction and |ShutdownIPCSupport()| on
// destruction (or |ShutdownIPCSupportOnIOThread()| if destroyed on the I/O
// thread).
-class ScopedIPCSupport : public embedder::ProcessDelegate {
+class ScopedIPCSupport final : public embedder::ProcessDelegate {
public:
explicit ScopedIPCSupport(
embedder::PlatformTaskRunnerRefPtr io_thread_task_runner);
@@ -65,7 +65,7 @@ class ScopedIPCSupport : public embedder::ProcessDelegate {
// Like |ScopedIPCSupport|, but with |ProcessType::MASTER|. It will (optionally)
// call a callback (on the I/O thread) on receiving |OnSlaveDisconnect()|.
-class ScopedMasterIPCSupport : public embedder::MasterProcessDelegate {
+class ScopedMasterIPCSupport final : public embedder::MasterProcessDelegate {
public:
explicit ScopedMasterIPCSupport(
embedder::PlatformTaskRunnerRefPtr io_thread_task_runner);
@@ -88,7 +88,7 @@ class ScopedMasterIPCSupport : public embedder::MasterProcessDelegate {
// Like |ScopedIPCSupport|, but with |ProcessType::SLAVE|. It will (optionally)
// call a callback (on the I/O thread) on receiving |OnMasterDisconnect()|.
-class ScopedSlaveIPCSupport : public embedder::SlaveProcessDelegate {
+class ScopedSlaveIPCSupport final : public embedder::SlaveProcessDelegate {
public:
ScopedSlaveIPCSupport(
embedder::PlatformTaskRunnerRefPtr io_thread_task_runner,
« no previous file with comments | « mojo/edk/test/multiprocess_test_helper.h ('k') | mojo/edk/util/command_line.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698