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

Unified Diff: components/gcm_driver/fake_gcm_app_handler.h

Issue 515763002: [GCM] Extracting GCMConnectionObserver from GCMAppHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Finishing the CL on a box that compiles much faster... 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
Index: components/gcm_driver/fake_gcm_app_handler.h
diff --git a/components/gcm_driver/fake_gcm_app_handler.h b/components/gcm_driver/fake_gcm_app_handler.h
index a59a1c24746da7be8eb7928596c7a56b5e4086b9..eb09422f00f17be94ca6a30700c56a740a86f800 100644
--- a/components/gcm_driver/fake_gcm_app_handler.h
+++ b/components/gcm_driver/fake_gcm_app_handler.h
@@ -34,7 +34,6 @@ class FakeGCMAppHandler : public GCMAppHandler {
const GCMClient::SendErrorDetails& send_error_details() const {
return send_error_details_;
}
- bool connected() const { return connected_; }
void WaitForNotification();
@@ -48,8 +47,6 @@ class FakeGCMAppHandler : public GCMAppHandler {
const GCMClient::SendErrorDetails& send_error_details) OVERRIDE;
virtual void OnSendAcknowledged(const std::string& app_id,
const std::string& message_id) OVERRIDE;
- virtual void OnConnected(const net::IPEndPoint& ip_endpoint) OVERRIDE;
- virtual void OnDisconnected() OVERRIDE;
private:
void ClearResults();
@@ -61,7 +58,6 @@ class FakeGCMAppHandler : public GCMAppHandler {
std::string acked_message_id_;
GCMClient::IncomingMessage message_;
GCMClient::SendErrorDetails send_error_details_;
- bool connected_;
DISALLOW_COPY_AND_ASSIGN(FakeGCMAppHandler);
};

Powered by Google App Engine
This is Rietveld 408576698