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/memory/ptr_util.h" | 7 #include "base/memory/ptr_util.h" |
8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
9 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
10 #include "base/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
11 #include "chrome/browser/extensions/extension_util.h" | 11 #include "chrome/browser/extensions/extension_util.h" |
12 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
13 #include "chrome/browser/sync_file_system/file_change.h" | 13 #include "chrome/browser/sync_file_system/file_change.h" |
14 #include "chrome/browser/sync_file_system/local/local_file_change_tracker.h" | 14 #include "chrome/browser/sync_file_system/local/local_file_change_tracker.h" |
15 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h" | 15 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h" |
16 #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h" | 16 #include "chrome/browser/sync_file_system/local/sync_file_system_backend.h" |
17 #include "chrome/browser/sync_file_system/local_change_processor.h" | 17 #include "chrome/browser/sync_file_system/local_change_processor.h" |
18 #include "chrome/browser/sync_file_system/logger.h" | 18 #include "chrome/browser/sync_file_system/logger.h" |
19 #include "chrome/browser/sync_file_system/sync_file_metadata.h" | 19 #include "chrome/browser/sync_file_system/sync_file_metadata.h" |
20 #include "content/public/browser/browser_context.h" | 20 #include "content/public/browser/browser_context.h" |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 | 490 |
491 LocalChangeProcessor* LocalFileSyncService::GetLocalChangeProcessor( | 491 LocalChangeProcessor* LocalFileSyncService::GetLocalChangeProcessor( |
492 const FileSystemURL& url) { | 492 const FileSystemURL& url) { |
493 if (!get_local_change_processor_.is_null()) | 493 if (!get_local_change_processor_.is_null()) |
494 return get_local_change_processor_.Run(url.origin()); | 494 return get_local_change_processor_.Run(url.origin()); |
495 DCHECK(local_change_processor_); | 495 DCHECK(local_change_processor_); |
496 return local_change_processor_; | 496 return local_change_processor_; |
497 } | 497 } |
498 | 498 |
499 } // namespace sync_file_system | 499 } // namespace sync_file_system |
OLD | NEW |