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 #ifndef COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_ANDROID_FACTORY_H_ |
| 6 #define COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_ANDROID_FACTORY_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "components/gcm_driver/instance_id/instance_id_factory.h" |
| 10 |
| 11 namespace instance_id { |
| 12 |
| 13 class InstanceIDAndroidFactory : public InstanceIDFactory { |
| 14 public: |
| 15 InstanceIDAndroidFactory() = default; |
| 16 ~InstanceIDAndroidFactory() override = default; |
| 17 |
| 18 std::unique_ptr<InstanceID> Create(const std::string& app_id, |
| 19 gcm::GCMDriver* gcm_driver) override; |
| 20 |
| 21 private: |
| 22 DISALLOW_COPY_AND_ASSIGN(InstanceIDAndroidFactory); |
| 23 }; |
| 24 |
| 25 } // namespace instance_id |
| 26 |
| 27 #endif // COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_ANDROID_FACTORY_H_ |
OLD | NEW |