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/local/local_file_sync_service.h" | 5 #include "chrome/browser/sync_file_system/local/local_file_sync_service.h" |
6 | 6 |
7 #include "base/stl_util.h" | 7 #include "base/stl_util.h" |
8 #include "chrome/browser/extensions/extension_service.h" | 8 #include "chrome/browser/extensions/extension_service.h" |
9 #include "chrome/browser/extensions/extension_system.h" | |
10 #include "chrome/browser/profiles/profile.h" | 9 #include "chrome/browser/profiles/profile.h" |
11 #include "chrome/browser/sync_file_system/file_change.h" | 10 #include "chrome/browser/sync_file_system/file_change.h" |
12 #include "chrome/browser/sync_file_system/local/local_file_change_tracker.h" | 11 #include "chrome/browser/sync_file_system/local/local_file_change_tracker.h" |
13 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h" | 12 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h" |
14 #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h" | 13 #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h" |
15 #include "chrome/browser/sync_file_system/local_change_processor.h" | 14 #include "chrome/browser/sync_file_system/local_change_processor.h" |
16 #include "chrome/browser/sync_file_system/logger.h" | 15 #include "chrome/browser/sync_file_system/logger.h" |
17 #include "chrome/browser/sync_file_system/sync_file_metadata.h" | 16 #include "chrome/browser/sync_file_system/sync_file_metadata.h" |
18 #include "content/public/browser/browser_context.h" | 17 #include "content/public/browser/browser_context.h" |
19 #include "content/public/browser/browser_thread.h" | 18 #include "content/public/browser/browser_thread.h" |
20 #include "content/public/browser/site_instance.h" | 19 #include "content/public/browser/site_instance.h" |
21 #include "content/public/browser/storage_partition.h" | 20 #include "content/public/browser/storage_partition.h" |
| 21 #include "extensions/browser/extension_system.h" |
22 #include "url/gurl.h" | 22 #include "url/gurl.h" |
23 #include "webkit/browser/fileapi/file_system_context.h" | 23 #include "webkit/browser/fileapi/file_system_context.h" |
24 #include "webkit/browser/fileapi/file_system_url.h" | 24 #include "webkit/browser/fileapi/file_system_url.h" |
25 #include "webkit/common/blob/scoped_file.h" | 25 #include "webkit/common/blob/scoped_file.h" |
26 | 26 |
27 using content::BrowserThread; | 27 using content::BrowserThread; |
28 using fileapi::FileSystemURL; | 28 using fileapi::FileSystemURL; |
29 | 29 |
30 namespace sync_file_system { | 30 namespace sync_file_system { |
31 | 31 |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 | 481 |
482 LocalChangeProcessor* LocalFileSyncService::GetLocalChangeProcessor( | 482 LocalChangeProcessor* LocalFileSyncService::GetLocalChangeProcessor( |
483 const FileSystemURL& url) { | 483 const FileSystemURL& url) { |
484 if (!get_local_change_processor_.is_null()) | 484 if (!get_local_change_processor_.is_null()) |
485 return get_local_change_processor_.Run(url.origin()); | 485 return get_local_change_processor_.Run(url.origin()); |
486 DCHECK(local_change_processor_); | 486 DCHECK(local_change_processor_); |
487 return local_change_processor_; | 487 return local_change_processor_; |
488 } | 488 } |
489 | 489 |
490 } // namespace sync_file_system | 490 } // namespace sync_file_system |
OLD | NEW |