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

Unified Diff: chrome/browser/sync/notifier/chrome_system_resources.cc

Issue 9190029: use push messaging in cache invalidation xmpp channel (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 years, 11 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/chrome_system_resources.cc
===================================================================
--- chrome/browser/sync/notifier/chrome_system_resources.cc (revision 117278)
+++ chrome/browser/sync/notifier/chrome_system_resources.cc (working copy)
@@ -210,6 +210,7 @@
base::Bind(&ChromeNetwork::HandleInboundMessage,
weak_factory_.GetWeakPtr())));
}
+ packet_handler_->SendSubscriptionRequest();
}
void ChromeNetwork::HandleInboundMessage(const std::string& incoming_message) {
@@ -234,6 +235,7 @@
void ChromeSystemResources::Start() {
internal_scheduler_->Start();
listener_scheduler_->Start();
+ is_started_ = true;
akalin 2012/01/12 23:06:44 this is already in your other CL, right?
ghc 2012/01/13 01:23:07 Yes. I could undo it, but this way it gets in soo
}
void ChromeSystemResources::Stop() {

Powered by Google App Engine
This is Rietveld 408576698