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