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

Unified Diff: chrome/browser/browser_process_platform_part_chromeos.h

Issue 2911983003: Replace deprecated base::NonThreadSafe in chrome 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 | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/browser_process_platform_part_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_platform_part_chromeos.h
diff --git a/chrome/browser/browser_process_platform_part_chromeos.h b/chrome/browser/browser_process_platform_part_chromeos.h
index e0c970e1ca2fe60110dc3cf83f0382c9774d886f..11348eff2390ecc856c82b8a99716db19e69d0f3 100644
--- a/chrome/browser/browser_process_platform_part_chromeos.h
+++ b/chrome/browser/browser_process_platform_part_chromeos.h
@@ -11,7 +11,7 @@
#include "base/compiler_specific.h"
#include "base/containers/flat_set.h"
#include "base/macros.h"
-#include "base/threading/non_thread_safe.h"
+#include "base/sequence_checker.h"
#include "chrome/browser/browser_process_platform_part_base.h"
namespace chromeos {
@@ -38,8 +38,7 @@ class BrowserPolicyConnectorChromeOS;
class ScopedKeepAlive;
-class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase,
- public base::NonThreadSafe {
+class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase {
public:
BrowserProcessPlatformPart();
~BrowserProcessPlatformPart() override;
@@ -132,6 +131,8 @@ class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase,
base::flat_set<std::string> compatible_cros_components_;
+ SEQUENCE_CHECKER(sequence_checker_);
+
DISALLOW_COPY_AND_ASSIGN(BrowserProcessPlatformPart);
};
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/browser_process_platform_part_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698