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

Unified Diff: remoting/host/ipc_host_event_logger.h

Issue 2911893003: Deprecate NonThreadSafe in remoting in favor of SequenceChecker. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « remoting/host/host_window_proxy.cc ('k') | remoting/host/ipc_host_event_logger.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/ipc_host_event_logger.h
diff --git a/remoting/host/ipc_host_event_logger.h b/remoting/host/ipc_host_event_logger.h
index bf15d5824949bf3c3af4c324a171292f95abbb4f..b292fa454be492ee3d68414a7399ebf925f7dc23 100644
--- a/remoting/host/ipc_host_event_logger.h
+++ b/remoting/host/ipc_host_event_logger.h
@@ -11,7 +11,7 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
-#include "base/threading/non_thread_safe.h"
+#include "base/sequence_checker.h"
#include "remoting/host/host_event_logger.h"
#include "remoting/host/host_status_observer.h"
@@ -23,10 +23,7 @@ namespace remoting {
class HostStatusMonitor;
-class IpcHostEventLogger
- : public base::NonThreadSafe,
- public HostEventLogger,
- public HostStatusObserver {
+class IpcHostEventLogger : public HostEventLogger, public HostStatusObserver {
public:
// Initializes the logger. |daemon_channel| must outlive this object.
IpcHostEventLogger(base::WeakPtr<HostStatusMonitor> monitor,
@@ -50,6 +47,8 @@ class IpcHostEventLogger
base::WeakPtr<HostStatusMonitor> monitor_;
+ SEQUENCE_CHECKER(sequence_checker_);
+
DISALLOW_COPY_AND_ASSIGN(IpcHostEventLogger);
};
« no previous file with comments | « remoting/host/host_window_proxy.cc ('k') | remoting/host/ipc_host_event_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698