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

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

Issue 14895013: Move webkit/fileapi/file_system_mount_point_provider.h to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/sync_file_system_service_factory.h" 5 #include "chrome/browser/sync_file_system/sync_file_system_service_factory.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/browser/google_apis/drive_notification_manager_factory.h" 8 #include "chrome/browser/google_apis/drive_notification_manager_factory.h"
9 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/profiles/profile_dependency_manager.h" 10 #include "chrome/browser/profiles/profile_dependency_manager.h"
11 #include "chrome/browser/sync/profile_sync_service.h" 11 #include "chrome/browser/sync/profile_sync_service.h"
12 #include "chrome/browser/sync_file_system/drive_file_sync_service.h" 12 #include "chrome/browser/sync_file_system/drive_file_sync_service.h"
13 #include "chrome/browser/sync_file_system/sync_file_system_service.h" 13 #include "chrome/browser/sync_file_system/sync_file_system_service.h"
14 #include "webkit/fileapi/syncable/syncable_file_system_util.h" 14 #include "webkit/browser/fileapi/syncable/syncable_file_system_util.h"
15 15
16 namespace sync_file_system { 16 namespace sync_file_system {
17 17
18 namespace { 18 namespace {
19 const char kDisableLastWriteWin[] = "disable-syncfs-last-write-win"; 19 const char kDisableLastWriteWin[] = "disable-syncfs-last-write-win";
20 } 20 }
21 21
22 // static 22 // static
23 SyncFileSystemService* SyncFileSystemServiceFactory::GetForProfile( 23 SyncFileSystemService* SyncFileSystemServiceFactory::GetForProfile(
24 Profile* profile) { 24 Profile* profile) {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 remote_file_service->SetConflictResolutionPolicy( 68 remote_file_service->SetConflictResolutionPolicy(
69 CONFLICT_RESOLUTION_MANUAL); 69 CONFLICT_RESOLUTION_MANUAL);
70 } 70 }
71 71
72 service->Initialize(local_file_service.Pass(), 72 service->Initialize(local_file_service.Pass(),
73 remote_file_service.Pass()); 73 remote_file_service.Pass());
74 return service; 74 return service;
75 } 75 }
76 76
77 } // namespace sync_file_system 77 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698