OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_file_sync_service.h" | 5 #include "chrome/browser/sync_file_system/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" | 9 #include "chrome/browser/extensions/extension_system.h" |
10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
11 #include "chrome/browser/sync_file_system/local_change_processor.h" | 11 #include "chrome/browser/sync_file_system/local_change_processor.h" |
12 #include "content/public/browser/browser_context.h" | 12 #include "content/public/browser/browser_context.h" |
13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
14 #include "content/public/browser/site_instance.h" | 14 #include "content/public/browser/site_instance.h" |
15 #include "content/public/browser/storage_partition.h" | 15 #include "content/public/browser/storage_partition.h" |
16 #include "googleurl/src/gurl.h" | 16 #include "googleurl/src/gurl.h" |
17 #include "webkit/fileapi/file_system_context.h" | 17 #include "webkit/browser/fileapi/file_system_context.h" |
18 #include "webkit/fileapi/file_system_url.h" | 18 #include "webkit/browser/fileapi/file_system_url.h" |
19 #include "webkit/fileapi/syncable/file_change.h" | 19 #include "webkit/fileapi/syncable/file_change.h" |
20 #include "webkit/fileapi/syncable/local_file_change_tracker.h" | 20 #include "webkit/fileapi/syncable/local_file_change_tracker.h" |
21 #include "webkit/fileapi/syncable/local_file_sync_context.h" | 21 #include "webkit/fileapi/syncable/local_file_sync_context.h" |
22 #include "webkit/fileapi/syncable/sync_file_metadata.h" | 22 #include "webkit/fileapi/syncable/sync_file_metadata.h" |
23 | 23 |
24 using content::BrowserThread; | 24 using content::BrowserThread; |
25 using fileapi::FileSystemURL; | 25 using fileapi::FileSystemURL; |
26 | 26 |
27 namespace sync_file_system { | 27 namespace sync_file_system { |
28 | 28 |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 changes.front(), | 414 changes.front(), |
415 sync_file_info.local_file_path, | 415 sync_file_info.local_file_path, |
416 sync_file_info.metadata, | 416 sync_file_info.metadata, |
417 url, | 417 url, |
418 base::Bind(&LocalFileSyncService::ProcessNextChangeForURL, | 418 base::Bind(&LocalFileSyncService::ProcessNextChangeForURL, |
419 AsWeakPtr(), sync_file_info, | 419 AsWeakPtr(), sync_file_info, |
420 changes.front(), changes.PopAndGetNewList())); | 420 changes.front(), changes.PopAndGetNewList())); |
421 } | 421 } |
422 | 422 |
423 } // namespace sync_file_system | 423 } // namespace sync_file_system |
OLD | NEW |