OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "components/gcm_driver/instance_id/instance_id_impl_factory.h" |
| 6 |
| 7 #include "base/memory/ptr_util.h" |
| 8 #include "components/gcm_driver/instance_id/instance_id_android.h" |
| 9 |
| 10 namespace instance_id { |
| 11 |
| 12 std::unique_ptr<InstanceID> InstanceIDImplFactory::Create( |
| 13 const std::string& app_id, |
| 14 gcm::GCMDriver* gcm_driver) { |
| 15 return base::MakeUnique<InstanceIDAndroid>(app_id, gcm_driver); |
| 16 } |
| 17 |
| 18 } // namespace instance_id |
OLD | NEW |