Index: components/copresence/rpc/rpc_handler.h |
diff --git a/components/copresence/rpc/rpc_handler.h b/components/copresence/rpc/rpc_handler.h |
index 555a8b120df04ac5f052b9da85c25e43a83e1edf..e2e999fda33578b4d4c31f2de3839854d2e92bbf 100644 |
--- a/components/copresence/rpc/rpc_handler.h |
+++ b/components/copresence/rpc/rpc_handler.h |
@@ -22,7 +22,6 @@ namespace copresence { |
struct AudioToken; |
class CopresenceDelegate; |
class DirectiveHandler; |
-class GCMHandler; |
class HttpPost; |
class ReportRequest; |
class RequestHeader; |
@@ -66,7 +65,6 @@ class RpcHandler { |
// |server_post_callback| should be set only by tests. |
RpcHandler(CopresenceDelegate* delegate, |
DirectiveHandler* directive_handler, |
- GCMHandler* gcm_handler, |
const PostCallback& server_post_callback = PostCallback()); |
virtual ~RpcHandler(); |
@@ -109,12 +107,8 @@ class RpcHandler { |
void SendReportRequest(scoped_ptr<ReportRequest> request, |
const std::string& auth_token); |
- // Store a GCM ID and send it to the server if needed. |
- void RegisterGcmId(const std::string& gcm_id); |
- |
// Server call response handlers. |
void RegisterResponseHandler(const std::string& auth_token, |
- bool gcm_pending, |
HttpPost* completed_post, |
int http_status_code, |
const std::string& response_data); |
@@ -158,9 +152,8 @@ class RpcHandler { |
const PostCleanupCallback& callback); |
// These belong to the caller. |
- CopresenceDelegate* const delegate_; |
- DirectiveHandler* const directive_handler_; |
- GCMHandler* const gcm_handler_; |
+ CopresenceDelegate* delegate_; |
+ DirectiveHandler* directive_handler_; |
PostCallback server_post_callback_; |
@@ -168,7 +161,6 @@ class RpcHandler { |
TimedMap<std::string, bool> invalid_audio_token_cache_; |
std::map<std::string, std::string> device_id_by_auth_token_; |
std::set<HttpPost*> pending_posts_; |
- std::string gcm_id_; |
DISALLOW_COPY_AND_ASSIGN(RpcHandler); |
}; |