Index: components/gcm_driver/instance_id/instance_id_impl.cc |
diff --git a/components/gcm_driver/instance_id/instance_id_impl.cc b/components/gcm_driver/instance_id/instance_id_impl.cc |
index 56a0cbed8d2c16e43743480ea3feea22dcd0710c..a0c807bd2a3375fd9b663db3394619828f8fb38d 100644 |
--- a/components/gcm_driver/instance_id/instance_id_impl.cc |
+++ b/components/gcm_driver/instance_id/instance_id_impl.cc |
@@ -12,7 +12,6 @@ |
#include "base/base64.h" |
#include "base/bind.h" |
#include "base/logging.h" |
-#include "base/memory/ptr_util.h" |
#include "base/message_loop/message_loop.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/threading/thread_task_runner_handle.h" |
@@ -49,13 +48,6 @@ InstanceID::Result GCMClientResultToInstanceIDResult( |
} // namespace |
-// static |
-std::unique_ptr<InstanceID> InstanceID::CreateInternal( |
- const std::string& app_id, |
- gcm::GCMDriver* gcm_driver) { |
- return base::WrapUnique(new InstanceIDImpl(app_id, gcm_driver)); |
-} |
- |
InstanceIDImpl::InstanceIDImpl(const std::string& app_id, |
gcm::GCMDriver* gcm_driver) |
: InstanceID(app_id, gcm_driver), weak_ptr_factory_(this) { |