Remove calling ShouldRejectRequest in GCM requests
commite0958a74ac4ab3e1a199e6f99db446cda98c0ec8
authorjianli <jianli@chromium.org>
Fri, 17 Jul 2015 01:55:44 +0000 (16 18:55 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 17 Jul 2015 01:56:23 +0000 (17 01:56 +0000)
treecd173e5775c9e5015b4dcff2e533448f197e6914
parent6f6b1a94406a54ab45020787dc9d14a22516b4ab
Remove calling ShouldRejectRequest in GCM requests

The call is not really needed. The existence of this call makes it hard to do more testing.

Updated tests to adjust to that.

BUG=none
TEST=tests updated

Review URL: https://codereview.chromium.org/1232703003

Cr-Commit-Position: refs/heads/master@{#339197}
13 files changed:
google_apis/gcm/BUILD.gn
google_apis/gcm/engine/checkin_request.cc
google_apis/gcm/engine/checkin_request.h
google_apis/gcm/engine/checkin_request_unittest.cc
google_apis/gcm/engine/gcm_request_test_base.cc [new file with mode: 0644]
google_apis/gcm/engine/gcm_request_test_base.h [new file with mode: 0644]
google_apis/gcm/engine/registration_request.cc
google_apis/gcm/engine/registration_request.h
google_apis/gcm/engine/registration_request_unittest.cc
google_apis/gcm/engine/unregistration_request.cc
google_apis/gcm/engine/unregistration_request.h
google_apis/gcm/engine/unregistration_request_unittest.cc
google_apis/gcm/gcm.gyp