| Index: components/gcm_driver/instance_id/instance_id_driver.h
|
| diff --git a/components/gcm_driver/instance_id/instance_id_driver.h b/components/gcm_driver/instance_id/instance_id_driver.h
|
| index 4bb9fd736155a019ac9911652c4ffbbaf0ef8f37..8d5b5f16350011debb9e99858e2ccaf101a789ce 100644
|
| --- a/components/gcm_driver/instance_id/instance_id_driver.h
|
| +++ b/components/gcm_driver/instance_id/instance_id_driver.h
|
| @@ -5,11 +5,11 @@
|
| #ifndef COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_DRIVER_H_
|
| #define COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_DRIVER_H_
|
|
|
| -#include <map>
|
| #include <string>
|
|
|
| +#include "base/containers/scoped_ptr_map.h"
|
| #include "base/macros.h"
|
| -#include "base/stl_util.h"
|
| +#include "base/memory/scoped_ptr.h"
|
|
|
| namespace gcm {
|
| class GCMDriver;
|
| @@ -43,9 +43,7 @@ class InstanceIDDriver {
|
|
|
| private:
|
| gcm::GCMDriver* gcm_driver_; // Not owned.
|
| - typedef std::map<std::string, InstanceID*> InstanceIDMap;
|
| - InstanceIDMap instance_id_map_;
|
| - STLValueDeleter<InstanceIDMap> instance_id_map_deleter_;
|
| + ScopedPtrMap<std::string, scoped_ptr<InstanceID>> instance_id_map_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(InstanceIDDriver);
|
| };
|
|
|