| 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 std::unique_ptr<RemoteFileSyncService> |
| 12 RemoteFileSyncService::CreateForBrowserContext( | 12 RemoteFileSyncService::CreateForBrowserContext(content::BrowserContext* context, |
| 13 content::BrowserContext* context, | 13 TaskLogger* task_logger) { |
| 14 TaskLogger* task_logger) { | |
| 15 return drive_backend::SyncEngine::CreateForBrowserContext(context, | 14 return drive_backend::SyncEngine::CreateForBrowserContext(context, |
| 16 task_logger); | 15 task_logger); |
| 17 } | 16 } |
| 18 | 17 |
| 19 void RemoteFileSyncService::AppendDependsOnFactories( | 18 void RemoteFileSyncService::AppendDependsOnFactories( |
| 20 std::set<BrowserContextKeyedServiceFactory*>* factories) { | 19 std::set<BrowserContextKeyedServiceFactory*>* factories) { |
| 21 drive_backend::SyncEngine::AppendDependsOnFactories(factories); | 20 drive_backend::SyncEngine::AppendDependsOnFactories(factories); |
| 22 } | 21 } |
| 23 | 22 |
| 24 } // namespace sync_file_system | 23 } // namespace sync_file_system |
| OLD | NEW |