Index: components/gcm_driver/instance_id/instance_id_impl_factory.h |
diff --git a/components/gcm_driver/instance_id/instance_id_impl_factory.h b/components/gcm_driver/instance_id/instance_id_impl_factory.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..282597c9192777ea3a3ac19304f348d54f4b8476 |
--- /dev/null |
+++ b/components/gcm_driver/instance_id/instance_id_impl_factory.h |
@@ -0,0 +1,27 @@ |
+// Copyright 2017 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_IMPL_FACTORY_H_ |
+#define COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_IMPL_FACTORY_H_ |
+ |
+#include "base/macros.h" |
+#include "components/gcm_driver/instance_id/instance_id_factory.h" |
+ |
+namespace instance_id { |
+ |
+class InstanceIDImplFactory : public InstanceIDFactory { |
+ public: |
+ InstanceIDImplFactory() = default; |
+ ~InstanceIDImplFactory() override = default; |
+ |
+ std::unique_ptr<InstanceID> Create(const std::string& app_id, |
+ gcm::GCMDriver* gcm_driver) override; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(InstanceIDImplFactory); |
+}; |
+ |
+} // namespace instance_id |
+ |
+#endif // COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_IMPL_FACTORY_H_ |