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

Unified Diff: chrome/browser/apps/app_shim/app_shim_host_mac.h

Issue 2908973004: Replace deprecated base::NonThreadSafe in chrome/browser/apps/app_shim in favor of ThreadChecker. (Closed)
Patch Set: SequenceChecker => ThreadChecker 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 | « no previous file | chrome/browser/apps/app_shim/app_shim_host_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/app_shim/app_shim_host_mac.h
diff --git a/chrome/browser/apps/app_shim/app_shim_host_mac.h b/chrome/browser/apps/app_shim/app_shim_host_mac.h
index 7507aaf534783bef87fd09f651d2f832e39bcb22..168a07bf846ca5bd3b31b56e9dcd40259d7c39c2 100644
--- a/chrome/browser/apps/app_shim/app_shim_host_mac.h
+++ b/chrome/browser/apps/app_shim/app_shim_host_mac.h
@@ -10,7 +10,7 @@
#include <vector>
#include "base/files/file_path.h"
-#include "base/threading/non_thread_safe.h"
+#include "base/threading/thread_checker.h"
#include "chrome/browser/apps/app_shim/app_shim_handler_mac.h"
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
@@ -28,8 +28,7 @@ class Message;
// connected to the app shim is closed.
class AppShimHost : public IPC::Listener,
public IPC::Sender,
- public apps::AppShimHandler::Host,
- public base::NonThreadSafe {
+ public apps::AppShimHandler::Host {
public:
AppShimHost();
~AppShimHost() override;
@@ -83,6 +82,8 @@ class AppShimHost : public IPC::Listener,
std::string app_id_;
base::FilePath profile_path_;
bool initial_launch_finished_;
+
+ THREAD_CHECKER(thread_checker_);
};
#endif // CHROME_BROWSER_APPS_APP_SHIM_APP_SHIM_HOST_MAC_H_
« no previous file with comments | « no previous file | chrome/browser/apps/app_shim/app_shim_host_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698