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

Unified Diff: jingle/notifier/listener/push_client.h

Issue 10436013: [Sync] Make InvalidationNotifier use PushClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: jingle/notifier/listener/push_client.h
diff --git a/jingle/notifier/listener/push_client.h b/jingle/notifier/listener/push_client.h
index ea975a84992b8cda018118c454fbe81125624bdf..f80f422d90febe09d1699baf0fa682d1cf54d3ee 100644
--- a/jingle/notifier/listener/push_client.h
+++ b/jingle/notifier/listener/push_client.h
@@ -27,6 +27,12 @@ class PushClient {
static scoped_ptr<PushClient> CreateDefault(
const NotifierOptions& notifier_options);
+ // Creates a default blocking PushClient implementation from the
+ // given options. Must be called from the IO thread (according to
+ // |notifier_options|).
+ static scoped_ptr<PushClient> CreateDefaultOnIOThread(
+ const NotifierOptions& notifier_options);
+
// Manage the list of observers for incoming notifications.
virtual void AddObserver(PushClientObserver* observer) = 0;
virtual void RemoveObserver(PushClientObserver* observer) = 0;

Powered by Google App Engine
This is Rietveld 408576698