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

Unified Diff: remoting/host/win/rdp_client.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/signaling_connector.cc ('k') | remoting/host/win/rdp_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/rdp_client.h
diff --git a/remoting/host/win/rdp_client.h b/remoting/host/win/rdp_client.h
index e30f16ecd99b6587b61994acd7434509a4ed0724..8225a524d3657c0aca7718ad84a1051991600f8e 100644
--- a/remoting/host/win/rdp_client.h
+++ b/remoting/host/win/rdp_client.h
@@ -10,7 +10,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/threading/non_thread_safe.h"
+#include "base/sequence_checker.h"
namespace base {
class SingleThreadTaskRunner;
@@ -21,7 +21,7 @@ namespace remoting {
class ScreenResolution;
// Establishes a loopback RDP connection to spawn a new Windows session.
-class RdpClient : public base::NonThreadSafe {
+class RdpClient {
public:
class EventHandler {
public:
@@ -54,6 +54,8 @@ class RdpClient : public base::NonThreadSafe {
class Core;
scoped_refptr<Core> core_;
+ SEQUENCE_CHECKER(sequence_checker_);
+
DISALLOW_COPY_AND_ASSIGN(RdpClient);
};
« no previous file with comments | « remoting/host/signaling_connector.cc ('k') | remoting/host/win/rdp_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698