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

Unified Diff: google_apis/gcm/engine/fake_connection_factory.cc

Issue 317723004: [GCM] Add ConnectionListener support, and hook up to debug page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile + rebase Created 6 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 | « google_apis/gcm/engine/fake_connection_factory.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/engine/fake_connection_factory.cc
diff --git a/google_apis/gcm/engine/fake_connection_factory.cc b/google_apis/gcm/engine/fake_connection_factory.cc
index 88bbc51be530031a84eef0b0fb5d5aaf5ba54d2e..51447b9e5a8abaf4210d9ff8872bc726f31c7123 100644
--- a/google_apis/gcm/engine/fake_connection_factory.cc
+++ b/google_apis/gcm/engine/fake_connection_factory.cc
@@ -41,6 +41,10 @@ bool FakeConnectionFactory::IsEndpointReachable() const {
return connection_handler_.get() && connection_handler_->CanSendMessage();
}
+std::string FakeConnectionFactory::GetConnectionStateString() const {
+ return "";
+}
+
base::TimeTicks FakeConnectionFactory::NextRetryAttempt() const {
return base::TimeTicks();
}
@@ -53,4 +57,8 @@ void FakeConnectionFactory::SignalConnectionReset(
reconnect_pending_ = true;
}
+void FakeConnectionFactory::SetConnectionListener(
+ ConnectionListener* listener) {
+}
+
} // namespace gcm
« no previous file with comments | « google_apis/gcm/engine/fake_connection_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698