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

Unified Diff: ui/message_center/message_center_impl.h

Issue 2928433004: Add thread-checker for public methods of message center (Closed)
Patch Set: Created 3 years, 6 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 | ui/message_center/message_center_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/message_center_impl.h
diff --git a/ui/message_center/message_center_impl.h b/ui/message_center/message_center_impl.h
index a167a70b1d00e863b0abce744af6b61e2a9b8395..3dd9c7f349a629e8b6846e8f8b1a2a28d8717e90 100644
--- a/ui/message_center/message_center_impl.h
+++ b/ui/message_center/message_center_impl.h
@@ -13,6 +13,7 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
+#include "base/threading/thread_checker.h"
#include "base/time/time.h"
#include "base/timer/timer.h"
#include "ui/message_center/message_center.h"
@@ -119,6 +120,8 @@ class MessageCenterImpl : public MessageCenter,
void RemoveNotificationsForNotifierId(const NotifierId& notifier_id);
+ THREAD_CHECKER(thread_checker_);
+
std::unique_ptr<NotificationList> notification_list_;
NotificationCache notification_cache_;
base::ObserverList<MessageCenterObserver> observer_list_;
« no previous file with comments | « no previous file | ui/message_center/message_center_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698