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

Unified Diff: google_apis/gcm/engine/gcm_request_test_base.h

Issue 2111973002: Add support for GCM subtypes to desktop Instance ID implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@iid9push
Patch Set: Remove channel from product_category_for_subtypes, and address nits Created 4 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
« no previous file with comments | « components/gcm_driver/registration_info.cc ('k') | google_apis/gcm/engine/gcm_request_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/engine/gcm_request_test_base.h
diff --git a/google_apis/gcm/engine/gcm_request_test_base.h b/google_apis/gcm/engine/gcm_request_test_base.h
index 8781dda837a1483162b6d5d4ca0722240888dbe8..3eb384d17af3e77b59c33ac3fbb133d19a7e254e 100644
--- a/google_apis/gcm/engine/gcm_request_test_base.h
+++ b/google_apis/gcm/engine/gcm_request_test_base.h
@@ -31,6 +31,12 @@ class GCMRequestTestBase : public testing::Test {
// It can be overridden by the test class to add additional logic.
virtual void CompleteFetch();
+ // Verifies that the Fetcher's upload_data exactly matches the given
+ // properties. The map will be cleared as a side-effect. Wrap calls to this
+ // with ASSERT_NO_FATAL_FAILURE.
+ void VerifyFetcherUploadData(
+ std::map<std::string, std::string>* expected_pairs);
+
net::URLRequestContextGetter* url_request_context_getter() const {
return url_request_context_getter_.get();
}
« no previous file with comments | « components/gcm_driver/registration_info.cc ('k') | google_apis/gcm/engine/gcm_request_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698