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

Unified Diff: chrome/browser/sync/notifier/chrome_invalidation_client.h

Issue 2861034: Decomped registration logic into its own class. (Closed)
Patch Set: synced to head Created 10 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 | chrome/browser/sync/notifier/chrome_invalidation_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/notifier/chrome_invalidation_client.h
diff --git a/chrome/browser/sync/notifier/chrome_invalidation_client.h b/chrome/browser/sync/notifier/chrome_invalidation_client.h
index e227fcc893d40e0fc7deb512fbb05388e25c22fb..6b4f6cfe9acb272be59936473240be0aa3160310 100644
--- a/chrome/browser/sync/notifier/chrome_invalidation_client.h
+++ b/chrome/browser/sync/notifier/chrome_invalidation_client.h
@@ -24,6 +24,7 @@ class XmppClient;
namespace sync_notifier {
class CacheInvalidationPacketHandler;
+class RegistrationManager;
// TODO(akalin): Hook this up to a NetworkChangeNotifier so we can
// properly notify invalidation_client_.
@@ -77,8 +78,7 @@ class ChromeInvalidationClient : public invalidation::InvalidationListener {
scoped_ptr<invalidation::InvalidationClient> invalidation_client_;
scoped_ptr<CacheInvalidationPacketHandler>
cache_invalidation_packet_handler_;
-
- void OnRegister(const invalidation::RegistrationUpdateResult& result);
+ scoped_ptr<RegistrationManager> registration_manager_;
DISALLOW_COPY_AND_ASSIGN(ChromeInvalidationClient);
};
« no previous file with comments | « no previous file | chrome/browser/sync/notifier/chrome_invalidation_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698