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

Unified Diff: google_apis/gcm/engine/checkin_request_unittest.cc

Issue 202083005: Add activity recording capability to gcm internals page. User can refresh, start/stop recording, an… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 9 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
Index: google_apis/gcm/engine/checkin_request_unittest.cc
diff --git a/google_apis/gcm/engine/checkin_request_unittest.cc b/google_apis/gcm/engine/checkin_request_unittest.cc
index 0142e0ca4f135b1ebf3f599d2f781c25953c1559..3565c9e12b2a0cab228756c0728a7edcb8763d72 100644
--- a/google_apis/gcm/engine/checkin_request_unittest.cc
+++ b/google_apis/gcm/engine/checkin_request_unittest.cc
@@ -6,6 +6,7 @@
#include <vector>
#include "google_apis/gcm/engine/checkin_request.h"
+#include "google_apis/gcm/gcm_stats_recorder.h"
#include "google_apis/gcm/protocol/checkin.pb.h"
#include "net/base/backoff_entry.h"
#include "net/url_request/test_url_fetcher_factory.h"
@@ -88,6 +89,7 @@ class CheckinRequestTest : public testing::Test {
checkin_proto::ChromeBuildProto chrome_build_proto_;
std::vector<std::string> account_ids_;
scoped_ptr<CheckinRequest> request_;
+ gcm::GCMStatsRecorder recorder_;
};
CheckinRequestTest::CheckinRequestTest()
@@ -126,7 +128,8 @@ void CheckinRequestTest::CreateRequest(uint64 android_id,
android_id,
security_token,
account_ids_,
- url_request_context_getter_.get()));
+ url_request_context_getter_.get(),
+ &recorder_));
// Setting android_id_ and security_token_ to blank value, not used elsewhere
// in the tests.

Powered by Google App Engine
This is Rietveld 408576698