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