summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/sync_manager_factory.cc
blob: 9d784b46ada76cb50d03ace2cf040cdd00a14f2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (c) 2012 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 "sync/internal_api/public/sync_manager_factory.h"

#include "sync/internal_api/sync_manager_impl.h"

namespace syncer {

SyncManagerFactory::SyncManagerFactory() {
}

SyncManagerFactory::~SyncManagerFactory() {
}

scoped_ptr<SyncManager> SyncManagerFactory::CreateSyncManager(
      const std::string name) {
  return scoped_ptr<SyncManager>(new SyncManagerImpl(name));
}

}  // namespace syncer