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/syncable_file_system_util.h" | 5 #include "chrome/browser/sync_file_system/syncable_file_system_util.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/location.h" | 10 #include "base/location.h" |
11 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
12 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
13 #include "base/thread_task_runner_handle.h" | 13 #include "base/threading/thread_task_runner_handle.h" |
14 #include "storage/browser/fileapi/external_mount_points.h" | 14 #include "storage/browser/fileapi/external_mount_points.h" |
15 #include "storage/browser/fileapi/file_observers.h" | 15 #include "storage/browser/fileapi/file_observers.h" |
16 #include "storage/browser/fileapi/file_system_context.h" | 16 #include "storage/browser/fileapi/file_system_context.h" |
17 #include "storage/common/fileapi/file_system_util.h" | 17 #include "storage/common/fileapi/file_system_util.h" |
18 | 18 |
19 using storage::ExternalMountPoints; | 19 using storage::ExternalMountPoints; |
20 using storage::FileSystemContext; | 20 using storage::FileSystemContext; |
21 using storage::FileSystemURL; | 21 using storage::FileSystemURL; |
22 | 22 |
23 namespace sync_file_system { | 23 namespace sync_file_system { |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 void RunSoon(const tracked_objects::Location& from_here, | 112 void RunSoon(const tracked_objects::Location& from_here, |
113 const base::Closure& callback) { | 113 const base::Closure& callback) { |
114 base::ThreadTaskRunnerHandle::Get()->PostTask(from_here, callback); | 114 base::ThreadTaskRunnerHandle::Get()->PostTask(from_here, callback); |
115 } | 115 } |
116 | 116 |
117 base::Closure NoopClosure() { | 117 base::Closure NoopClosure() { |
118 return base::Bind(&Noop); | 118 return base::Bind(&Noop); |
119 } | 119 } |
120 | 120 |
121 } // namespace sync_file_system | 121 } // namespace sync_file_system |
OLD | NEW |