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 "components/drive/chromeos/sync_client.h" | 5 #include "components/drive/chromeos/sync_client.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/thread_task_runner_handle.h" | 12 #include "base/threading/thread_task_runner_handle.h" |
13 #include "components/drive/chromeos/file_cache.h" | 13 #include "components/drive/chromeos/file_cache.h" |
14 #include "components/drive/chromeos/file_system/download_operation.h" | 14 #include "components/drive/chromeos/file_system/download_operation.h" |
15 #include "components/drive/chromeos/file_system/operation_delegate.h" | 15 #include "components/drive/chromeos/file_system/operation_delegate.h" |
16 #include "components/drive/chromeos/sync/entry_update_performer.h" | 16 #include "components/drive/chromeos/sync/entry_update_performer.h" |
17 #include "components/drive/drive.pb.h" | 17 #include "components/drive/drive.pb.h" |
18 #include "components/drive/file_system_core_util.h" | 18 #include "components/drive/file_system_core_util.h" |
19 #include "components/drive/job_scheduler.h" | 19 #include "components/drive/job_scheduler.h" |
20 #include "google_apis/drive/task_util.h" | 20 #include "google_apis/drive/task_util.h" |
21 | 21 |
22 namespace drive { | 22 namespace drive { |
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 base::PostTaskAndReplyWithResult( | 489 base::PostTaskAndReplyWithResult( |
490 blocking_task_runner_.get(), | 490 blocking_task_runner_.get(), |
491 FROM_HERE, | 491 FROM_HERE, |
492 base::Bind(&FileCache::Unpin, base::Unretained(cache_), local_id), | 492 base::Bind(&FileCache::Unpin, base::Unretained(cache_), local_id), |
493 base::Bind(&util::EmptyFileOperationCallback)); | 493 base::Bind(&util::EmptyFileOperationCallback)); |
494 } | 494 } |
495 } | 495 } |
496 | 496 |
497 } // namespace internal | 497 } // namespace internal |
498 } // namespace drive | 498 } // namespace drive |
OLD | NEW |