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

Unified Diff: chrome/browser/sync/notifier/listener/mediator_thread_impl.h

Issue 984001: Force TalkMediator::Logout to wait until the Login task has been destroyed an... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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
Index: chrome/browser/sync/notifier/listener/mediator_thread_impl.h
===================================================================
--- chrome/browser/sync/notifier/listener/mediator_thread_impl.h (revision 41596)
+++ chrome/browser/sync/notifier/listener/mediator_thread_impl.h (working copy)
@@ -48,7 +48,8 @@
CMD_DISCONNECT,
CMD_LISTEN_FOR_UPDATES,
CMD_SEND_NOTIFICATION,
- CMD_SUBSCRIBE_FOR_UPDATES
+ CMD_SUBSCRIBE_FOR_UPDATES,
+ CMD_PUMP_AUXILIARY_LOOPS,
};
// Used to pass authentication information from the mediator to the thread.
@@ -73,6 +74,7 @@
// Start the thread.
virtual void Start();
+ virtual void Stop();
virtual void Run();
// These are called from outside threads, by the talk mediator object.
@@ -94,6 +96,7 @@
void DoListenForUpdates();
void DoSendNotification();
void DoStanzaLogging();
+ void PumpAuxiliaryLoops();
// These handle messages indicating an event happened in the outside world.
void OnUpdateListenerMessage();
« no previous file with comments | « chrome/browser/sync/engine/syncapi.cc ('k') | chrome/browser/sync/notifier/listener/mediator_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698