| Index: components/gcm_driver/instance_id/instance_id_impl.h
|
| diff --git a/components/gcm_driver/instance_id/instance_id_impl.h b/components/gcm_driver/instance_id/instance_id_impl.h
|
| index 9855500bf0773f98d21812c197bebd031b22ddfc..cd365bf1863b188bdf430ef1bf029c1641450cd8 100644
|
| --- a/components/gcm_driver/instance_id/instance_id_impl.h
|
| +++ b/components/gcm_driver/instance_id/instance_id_impl.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #include "base/callback.h"
|
| #include "base/macros.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "base/time/time.h"
|
| #include "components/gcm_driver/instance_id/instance_id.h"
|
|
|
| @@ -34,6 +35,14 @@ class InstanceIDImpl : public InstanceID {
|
| void DeleteID(const DeleteIDCallback& callback) override;
|
|
|
| private:
|
| + void EnsureIDGenerated();
|
| +
|
| + // The generated Instance ID.
|
| + std::string id_;
|
| +
|
| + // The time when the Instance ID has been generated.
|
| + base::Time creation_time_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(InstanceIDImpl);
|
| };
|
|
|
|
|