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

Unified Diff: remoting/protocol/ice_connection_to_host.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/protocol/channel_multiplexer.cc ('k') | remoting/protocol/ice_connection_to_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/ice_connection_to_host.h
diff --git a/remoting/protocol/ice_connection_to_host.h b/remoting/protocol/ice_connection_to_host.h
index 3a0b7ff3175580bbc7ce4c0ee2e2014c9f255915..bdb5da4cbd442d9d4412e971eed040fa637cada2 100644
--- a/remoting/protocol/ice_connection_to_host.h
+++ b/remoting/protocol/ice_connection_to_host.h
@@ -12,8 +12,8 @@
#include "base/callback_forward.h"
#include "base/macros.h"
#include "base/memory/ref_counted.h"
+#include "base/sequence_checker.h"
#include "base/single_thread_task_runner.h"
-#include "base/threading/non_thread_safe.h"
#include "remoting/proto/internal.pb.h"
#include "remoting/protocol/channel_dispatcher_base.h"
#include "remoting/protocol/clipboard_filter.h"
@@ -37,8 +37,7 @@ class ClientVideoDispatcher;
class IceConnectionToHost : public ConnectionToHost,
public Session::EventHandler,
public IceTransport::EventHandler,
- public ChannelDispatcherBase::EventHandler,
- public base::NonThreadSafe {
+ public ChannelDispatcherBase::EventHandler {
public:
IceConnectionToHost();
~IceConnectionToHost() override;
@@ -107,6 +106,8 @@ class IceConnectionToHost : public ConnectionToHost,
ErrorCode error_ = OK;
private:
+ SEQUENCE_CHECKER(sequence_checker_);
+
DISALLOW_COPY_AND_ASSIGN(IceConnectionToHost);
};
« no previous file with comments | « remoting/protocol/channel_multiplexer.cc ('k') | remoting/protocol/ice_connection_to_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698