Index: google_apis/gcm/engine/unregistration_request_unittest.cc |
diff --git a/google_apis/gcm/engine/unregistration_request_unittest.cc b/google_apis/gcm/engine/unregistration_request_unittest.cc |
index 1c736de1ad10b2ce6738e1d4f4f68c238fda142d..1d6bd4c3bbe24db4395949a6fe7aa36415bcf0f1 100644 |
--- a/google_apis/gcm/engine/unregistration_request_unittest.cc |
+++ b/google_apis/gcm/engine/unregistration_request_unittest.cc |
@@ -91,11 +91,14 @@ void UnregistrationRequestTest::UnregistrationCallback( |
} |
void UnregistrationRequestTest::CreateRequest() { |
fgorski
2015/05/13 18:32:41
add tests for instance id path.
jianli
2015/05/13 22:42:57
Done.
|
+ scoped_ptr<UnregistrationRequest::GCMRequestInfo> gcm_request_info( |
+ new UnregistrationRequest::GCMRequestInfo); |
+ gcm_request_info->android_id = kAndroidId; |
+ gcm_request_info->security_token = kSecurityToken; |
+ gcm_request_info->app_id = kAppId; |
request_.reset(new UnregistrationRequest( |
GURL(kRegistrationURL), |
- UnregistrationRequest::RequestInfo(kAndroidId, |
- kSecurityToken, |
- kAppId), |
+ gcm_request_info.Pass(), |
kDefaultBackoffPolicy, |
base::Bind(&UnregistrationRequestTest::UnregistrationCallback, |
base::Unretained(this)), |