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

Unified Diff: util/mach/exc_server_variants.h

Issue 753563003: exc_server_variants: use DISALLOW_COPY_AND_ASSIGN (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 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 | « no previous file | util/mach/exc_server_variants.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/mach/exc_server_variants.h
diff --git a/util/mach/exc_server_variants.h b/util/mach/exc_server_variants.h
index 15ab08c5733a51d97a3744fd20f98682fee8d471..c5da19454169582d9a4b6baf70c2a3f242a8f8ee 100644
--- a/util/mach/exc_server_variants.h
+++ b/util/mach/exc_server_variants.h
@@ -17,6 +17,7 @@
#include <mach/mach.h>
+#include "build/build_config.h"
#include "util/mach/mach_message_server.h"
namespace crashpad {
@@ -112,6 +113,8 @@ class ExcServer : public MachMessageServer::Interface {
private:
Interface* interface_; // weak
+
+ DISALLOW_COPY_AND_ASSIGN(ExcServer);
};
//! \brief A server interface for the `mach_exc` Mach subsystem.
@@ -199,6 +202,8 @@ class MachExcServer : public MachMessageServer::Interface {
private:
Interface* interface_; // weak
+
+ DISALLOW_COPY_AND_ASSIGN(MachExcServer);
};
//! \brief A server interface for the `exc` Mach subsystem, simplified to have
@@ -280,6 +285,8 @@ class SimplifiedExcServer : public ExcServer, public ExcServer::Interface {
private:
Interface* interface_; // weak
+
+ DISALLOW_COPY_AND_ASSIGN(SimplifiedExcServer);
};
//! \brief A server interface for the `mach_exc` Mach subsystem, simplified to
@@ -371,6 +378,8 @@ class SimplifiedMachExcServer : public MachExcServer,
private:
Interface* interface_; // weak
+
+ DISALLOW_COPY_AND_ASSIGN(SimplifiedMachExcServer);
};
} // namespace internal
@@ -423,6 +432,8 @@ class UniversalMachExcServer
private:
internal::SimplifiedExcServer exc_server_;
internal::SimplifiedMachExcServer mach_exc_server_;
+
+ DISALLOW_COPY_AND_ASSIGN(UniversalMachExcServer);
};
//! \brief Recovers the original exception, first exception code, and signal
« no previous file with comments | « no previous file | util/mach/exc_server_variants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698