summaryrefslogtreecommitdiffstats
path: root/sandbox/src/crosscall_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/src/crosscall_server.h')
-rw-r--r--sandbox/src/crosscall_server.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/sandbox/src/crosscall_server.h b/sandbox/src/crosscall_server.h
index fdd2177..9d2052f 100644
--- a/sandbox/src/crosscall_server.h
+++ b/sandbox/src/crosscall_server.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SANDBOX_SRC_CROSSCALL_SERVER_H__
-#define SANDBOX_SRC_CROSSCALL_SERVER_H__
+#ifndef SANDBOX_SRC_CROSSCALL_SERVER_H_
+#define SANDBOX_SRC_CROSSCALL_SERVER_H_
#include <string>
#include <vector>
@@ -78,6 +78,7 @@ class ThreadProvider {
// Removes all the registrations done with the same cookie parameter.
// This frees internal thread pool resources.
virtual bool UnRegisterWaits(void* cookie) = 0;
+ virtual ~ThreadProvider() {}
};
// Models the server-side of the original input parameters.
@@ -120,7 +121,7 @@ class CrossCallParamsEx : public CrossCallParams {
CrossCallParamsEx();
ParamInfo param_info_[1];
- DISALLOW_EVIL_CONSTRUCTORS(CrossCallParamsEx);
+ DISALLOW_COPY_AND_ASSIGN(CrossCallParamsEx);
};
// Simple helper function that sets the members of CrossCallReturn
@@ -214,5 +215,5 @@ class Dispatcher {
} // namespace sandbox
-#endif // SANDBOX_SRC_CROSSCALL_SERVER_H__
+#endif // SANDBOX_SRC_CROSSCALL_SERVER_H_