Index: chrome/browser/sync/notifier/p2p_notifier.h |
diff --git a/chrome/browser/sync/notifier/p2p_notifier.h b/chrome/browser/sync/notifier/p2p_notifier.h |
index 67bad4152fac18991b38bf2462895aeda82fb411..54cbf70867968e0305979b7b94019f818fd1ea03 100644 |
--- a/chrome/browser/sync/notifier/p2p_notifier.h |
+++ b/chrome/browser/sync/notifier/p2p_notifier.h |
@@ -16,6 +16,8 @@ |
#include "chrome/browser/sync/syncable/model_type.h" |
#include "jingle/notifier/listener/talk_mediator.h" |
+class MessageLoop; |
+ |
namespace notifier { |
struct NotifierOptions; |
} // namespace |
@@ -49,6 +51,7 @@ class P2PNotifier |
// Call OnIncomingNotification() on observers if we have a non-empty |
// set of enabled types. |
void MaybeEmitNotification(); |
+ void CheckOrSetValidThread(); |
ObserverList<SyncNotifierObserver> observer_list_; |
@@ -61,7 +64,9 @@ class P2PNotifier |
bool notifications_enabled_; |
syncable::ModelTypeSet enabled_types_; |
+ MessageLoop* construction_message_loop_; |
+ MessageLoop* method_message_loop_; |
}; |
-} |
+} // namespace sync_notifier |
#endif // CHROME_BROWSER_SYNC_NOTIFIER_P2P_NOTIFIER_H_ |