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

Unified Diff: google_apis/gcm/tools/mcs_probe.cc

Issue 261853012: Componentize GCM Part 1: create GCM component and move some files over (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync Created 6 years, 7 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 | « google_apis/gcm/gcm_client_impl_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gcm/tools/mcs_probe.cc
diff --git a/google_apis/gcm/tools/mcs_probe.cc b/google_apis/gcm/tools/mcs_probe.cc
index b7f984d0a410bb83dd7789fc0c315eb331b371c3..3f93fd083013985093a5cf29ef4f9a12375e51dc 100644
--- a/google_apis/gcm/tools/mcs_probe.cc
+++ b/google_apis/gcm/tools/mcs_probe.cc
@@ -23,6 +23,7 @@
#include "base/threading/worker_pool.h"
#include "base/time/default_clock.h"
#include "base/values.h"
+#include "google_apis/gcm/base/fake_encryptor.h"
#include "google_apis/gcm/base/mcs_message.h"
#include "google_apis/gcm/base/mcs_util.h"
#include "google_apis/gcm/engine/checkin_request.h"
@@ -306,7 +307,8 @@ void MCSProbe::Start() {
&recorder_));
gcm_store_.reset(
new GCMStoreImpl(gcm_store_path_,
- file_thread_.message_loop_proxy()));
+ file_thread_.message_loop_proxy(),
+ make_scoped_ptr<Encryptor>(new FakeEncryptor)));
mcs_client_.reset(new MCSClient("probe",
&clock_,
connection_factory_.get(),
« no previous file with comments | « google_apis/gcm/gcm_client_impl_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698