Index: components/gcm_driver/instance_id/instance_id_android_factory.h |
diff --git a/components/gcm_driver/instance_id/instance_id_android_factory.h b/components/gcm_driver/instance_id/instance_id_android_factory.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8cbd4ef2bafbeab7e013a2ddc5862deb8e90787d |
--- /dev/null |
+++ b/components/gcm_driver/instance_id/instance_id_android_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_ANDROID_FACTORY_H_ |
+#define COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_ANDROID_FACTORY_H_ |
+ |
+#include "base/macros.h" |
+#include "components/gcm_driver/instance_id/instance_id_factory.h" |
+ |
+namespace instance_id { |
+ |
+class InstanceIDAndroidFactory : public InstanceIDFactory { |
+ public: |
+ InstanceIDAndroidFactory() = default; |
+ ~InstanceIDAndroidFactory() override = default; |
+ |
+ std::unique_ptr<InstanceID> Create(const std::string& app_id, |
+ gcm::GCMDriver* gcm_driver) override; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(InstanceIDAndroidFactory); |
+}; |
+ |
+} // namespace instance_id |
+ |
+#endif // COMPONENTS_GCM_DRIVER_INSTANCE_ID_INSTANCE_ID_ANDROID_FACTORY_H_ |