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

Unified Diff: trunk/src/google_apis/gcm/engine/mcs_client_unittest.cc

Issue 240583002: Revert 264313 "Add activity recording capability to gcm internal..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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 | « trunk/src/google_apis/gcm/engine/mcs_client.cc ('k') | trunk/src/google_apis/gcm/gcm.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/google_apis/gcm/engine/mcs_client_unittest.cc
===================================================================
--- trunk/src/google_apis/gcm/engine/mcs_client_unittest.cc (revision 264317)
+++ trunk/src/google_apis/gcm/engine/mcs_client_unittest.cc (working copy)
@@ -15,7 +15,6 @@
#include "google_apis/gcm/engine/fake_connection_factory.h"
#include "google_apis/gcm/engine/fake_connection_handler.h"
#include "google_apis/gcm/engine/gcm_store_impl.h"
-#include "google_apis/gcm/monitoring/gcm_stats_recorder.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace gcm {
@@ -68,9 +67,8 @@
public:
TestMCSClient(base::Clock* clock,
ConnectionFactory* connection_factory,
- GCMStore* gcm_store,
- gcm::GCMStatsRecorder* recorder)
- : MCSClient("", clock, connection_factory, gcm_store, recorder),
+ GCMStore* gcm_store)
+ : MCSClient("", clock, connection_factory, gcm_store),
next_id_(0) {
}
@@ -138,8 +136,6 @@
scoped_ptr<MCSMessage> received_message_;
std::string sent_message_id_;
MCSClient::MessageSendStatus message_send_status_;
-
- gcm::GCMStatsRecorder recorder_;
};
MCSClientTest::MCSClientTest()
@@ -170,8 +166,7 @@
message_loop_.message_loop_proxy()));
mcs_client_.reset(new TestMCSClient(&clock_,
&connection_factory_,
- gcm_store_.get(),
- &recorder_));
+ gcm_store_.get()));
}
void MCSClientTest::InitializeClient() {
« no previous file with comments | « trunk/src/google_apis/gcm/engine/mcs_client.cc ('k') | trunk/src/google_apis/gcm/gcm.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698