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

Unified Diff: components/gcm_driver/fake_gcm_app_handler.cc

Issue 515763002: [GCM] Extracting GCMConnectionObserver from GCMAppHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing CR feedback Created 6 years, 4 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 | « components/gcm_driver/fake_gcm_app_handler.h ('k') | components/gcm_driver/fake_gcm_driver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/fake_gcm_app_handler.cc
diff --git a/components/gcm_driver/fake_gcm_app_handler.cc b/components/gcm_driver/fake_gcm_app_handler.cc
index 40258eb47bc59280f6d724d4d30f465c35aedb0c..3ac6b081873f7a861731525605e064b0a529bf01 100644
--- a/components/gcm_driver/fake_gcm_app_handler.cc
+++ b/components/gcm_driver/fake_gcm_app_handler.cc
@@ -9,7 +9,7 @@
namespace gcm {
FakeGCMAppHandler::FakeGCMAppHandler()
- : received_event_(NO_EVENT), connected_(false) {
+ : received_event_(NO_EVENT) {
}
FakeGCMAppHandler::~FakeGCMAppHandler() {
@@ -71,12 +71,4 @@ void FakeGCMAppHandler::ClearResults() {
send_error_details_ = GCMClient::SendErrorDetails();
}
-void FakeGCMAppHandler::OnConnected(const net::IPEndPoint& ip_endpoint) {
- connected_ = true;
-}
-
-void FakeGCMAppHandler::OnDisconnected() {
- connected_ = false;
-}
-
} // namespace gcm
« no previous file with comments | « components/gcm_driver/fake_gcm_app_handler.h ('k') | components/gcm_driver/fake_gcm_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698