Home
last modified time | relevance | path

Searched refs:login_response (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/google_apis/gcm/engine/
Dfake_connection_handler.cc18 scoped_ptr<mcs_proto::LoginResponse> login_response( in BuildLoginResponse() local
20 login_response->set_id("id"); in BuildLoginResponse()
22 login_response->mutable_error()->set_code(1); in BuildLoginResponse()
23 return login_response.PassAs<google::protobuf::MessageLite>(); in BuildLoginResponse()
Dmcs_client.cc633 mcs_proto::LoginResponse* login_response = in HandlePacketFromWire() local
636 DVLOG(1) << " Id: " << login_response->id(); in HandlePacketFromWire()
637 DVLOG(1) << " Timestamp: " << login_response->server_timestamp(); in HandlePacketFromWire()
638 if (login_response->has_error() && login_response->error().code() != 0) { in HandlePacketFromWire()
640 DVLOG(1) << " Error code: " << login_response->error().code(); in HandlePacketFromWire()
641 DVLOG(1) << " Error message: " << login_response->error().message(); in HandlePacketFromWire()
649 if (login_response->has_heartbeat_config()) { in HandlePacketFromWire()
651 login_response->heartbeat_config()); in HandlePacketFromWire()
Dconnection_handler_impl_unittest.cc80 mcs_proto::LoginResponse login_response; in BuildLoginResponse() local
81 login_response.set_id("id"); in BuildLoginResponse()
82 result.append(login_response.SerializeAsString()); in BuildLoginResponse()