Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(474)

Side by Side Diff: chrome/browser/sync_file_system/remote_file_sync_service.cc

Issue 1873683002: Convert //chrome/browser/sync_file_system from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW
« no previous file with comments | « chrome/browser/sync_file_system/remote_file_sync_service.h ('k') | chrome/browser/sync_file_system/sync_file_system_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698