summaryrefslogtreecommitdiff
path: root/chromium/components/gcm_driver/instance_id/instance_id_profile_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/components/gcm_driver/instance_id/instance_id_profile_service.cc')
-rw-r--r--chromium/components/gcm_driver/instance_id/instance_id_profile_service.cc23
1 files changed, 23 insertions, 0 deletions
diff --git a/chromium/components/gcm_driver/instance_id/instance_id_profile_service.cc b/chromium/components/gcm_driver/instance_id/instance_id_profile_service.cc
new file mode 100644
index 00000000000..ecbafd3d4ad
--- /dev/null
+++ b/chromium/components/gcm_driver/instance_id/instance_id_profile_service.cc
@@ -0,0 +1,23 @@
+// Copyright (c) 2015 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.
+
+#include "components/gcm_driver/instance_id/instance_id_profile_service.h"
+
+#include "base/check.h"
+#include "components/gcm_driver/gcm_driver.h"
+#include "components/gcm_driver/gcm_profile_service.h"
+#include "components/gcm_driver/instance_id/instance_id_driver.h"
+
+namespace instance_id {
+
+InstanceIDProfileService::InstanceIDProfileService(gcm::GCMDriver* driver,
+ bool is_off_the_record) {
+ DCHECK(!is_off_the_record);
+
+ driver_ = std::make_unique<InstanceIDDriver>(driver);
+}
+
+InstanceIDProfileService::~InstanceIDProfileService() {}
+
+} // namespace instance_id