remote_file_sync_service.cc revision 03b57e008b61dfcb1fbad3aea950ae0e001748b0
1// Copyright 2013 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "chrome/browser/sync_file_system/remote_file_sync_service.h"
6
7#include "chrome/browser/sync_file_system/drive_backend/sync_engine.h"
8
9namespace sync_file_system {
10
11scoped_ptr<RemoteFileSyncService>
12RemoteFileSyncService::CreateForBrowserContext(
13    content::BrowserContext* context,
14    TaskLogger* task_logger) {
15  return drive_backend::SyncEngine::CreateForBrowserContext(
16      context, task_logger).PassAs<RemoteFileSyncService>();
17}
18
19void RemoteFileSyncService::AppendDependsOnFactories(
20    std::set<BrowserContextKeyedServiceFactory*>* factories) {
21  drive_backend::SyncEngine::AppendDependsOnFactories(factories);
22}
23
24}  // namespace sync_file_system
25