Index: components/gcm_driver/instance_id/instance_id.h |
diff --git a/components/gcm_driver/instance_id/instance_id.h b/components/gcm_driver/instance_id/instance_id.h |
index 343b9c5e72c499ebb7f48eb941d73de923bd992d..9adf0e5def2604150b45e9a3f99fdbe5614cc9ee 100644 |
--- a/components/gcm_driver/instance_id/instance_id.h |
+++ b/components/gcm_driver/instance_id/instance_id.h |
@@ -10,6 +10,7 @@ |
#include "base/callback.h" |
#include "base/macros.h" |
+#include "base/memory/scoped_ptr.h" |
#include "base/time/time.h" |
namespace gcm { |
@@ -57,8 +58,8 @@ class InstanceID { |
// |app_id|: identifies the application that uses the Instance ID. |
// |gcm_driver|: driver to access the GCM functionalities needed to support |
// Instance ID. |
- static InstanceID* Create(const std::string& app_id, |
- gcm::GCMDriver* gcm_driver); |
+ static scoped_ptr<InstanceID> Create(const std::string& app_id, |
+ gcm::GCMDriver* gcm_driver); |
virtual ~InstanceID(); |