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/strings/string_util.h" | 11 #include "base/strings/string_util.h" |
| 12 #include "storage/browser/fileapi/external_mount_points.h" |
| 13 #include "storage/browser/fileapi/file_observers.h" |
| 14 #include "storage/browser/fileapi/file_system_context.h" |
12 #include "storage/common/fileapi/file_system_util.h" | 15 #include "storage/common/fileapi/file_system_util.h" |
13 #include "webkit/browser/fileapi/external_mount_points.h" | |
14 #include "webkit/browser/fileapi/file_observers.h" | |
15 #include "webkit/browser/fileapi/file_system_context.h" | |
16 | 16 |
17 using storage::ExternalMountPoints; | 17 using storage::ExternalMountPoints; |
18 using storage::FileSystemContext; | 18 using storage::FileSystemContext; |
19 using storage::FileSystemURL; | 19 using storage::FileSystemURL; |
20 | 20 |
21 namespace sync_file_system { | 21 namespace sync_file_system { |
22 | 22 |
23 namespace { | 23 namespace { |
24 | 24 |
25 const char kSyncableMountName[] = "syncfs"; | 25 const char kSyncableMountName[] = "syncfs"; |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 void RunSoon(const tracked_objects::Location& from_here, | 110 void RunSoon(const tracked_objects::Location& from_here, |
111 const base::Closure& callback) { | 111 const base::Closure& callback) { |
112 base::MessageLoop::current()->PostTask(from_here, callback); | 112 base::MessageLoop::current()->PostTask(from_here, callback); |
113 } | 113 } |
114 | 114 |
115 base::Closure NoopClosure() { | 115 base::Closure NoopClosure() { |
116 return base::Bind(&Noop); | 116 return base::Bind(&Noop); |
117 } | 117 } |
118 | 118 |
119 } // namespace sync_file_system | 119 } // namespace sync_file_system |
OLD | NEW |