summaryrefslogtreecommitdiff
path: root/chromium/components/gcm_driver/instance_id/instance_id_profile_service.cc
blob: ecbafd3d4adfac720ea31207099a035a8ba34a43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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