Index: google_apis/gcm/gcm_client_impl.h |
diff --git a/google_apis/gcm/gcm_client_impl.h b/google_apis/gcm/gcm_client_impl.h |
index 85f206b435798b5f608c2d7745c3086b30fe3dbd..27520a975d7e9231c38fea22186790f7638fe8c5 100644 |
--- a/google_apis/gcm/gcm_client_impl.h |
+++ b/google_apis/gcm/gcm_client_impl.h |
@@ -45,6 +45,7 @@ namespace gcm { |
class CheckinRequest; |
class ConnectionFactory; |
+class Encryptor; |
class GCMClientImplTest; |
// Helper class for building GCM internals. Allows tests to inject fake versions |
@@ -75,7 +76,8 @@ class GCM_EXPORT GCMInternalsBuilder { |
// applications that send and receive messages. |
class GCM_EXPORT GCMClientImpl : public GCMClient { |
public: |
- explicit GCMClientImpl(scoped_ptr<GCMInternalsBuilder> internals_builder); |
+ GCMClientImpl(scoped_ptr<GCMInternalsBuilder> internals_builder, |
+ scoped_ptr<Encryptor> encryptor); |
virtual ~GCMClientImpl(); |
// Overridden from GCMClient: |
@@ -229,6 +231,9 @@ class GCM_EXPORT GCMClientImpl : public GCMClient { |
// Builder for the GCM internals (mcs client, etc.). |
scoped_ptr<GCMInternalsBuilder> internals_builder_; |
+ // For encryption purpose. |
+ scoped_ptr<Encryptor> encryptor_; |
+ |
// Recorder that logs GCM activities. |
GCMStatsRecorder recorder_; |