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 "webkit/fileapi/syncable/syncable_file_system_util.h" | 5 #include "webkit/fileapi/syncable/syncable_file_system_util.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/message_loop.h" | 8 #include "base/message_loop.h" |
9 #include "base/message_loop_proxy.h" | 9 #include "base/message_loop_proxy.h" |
10 #include "testing/gtest/include/gtest/gtest.h" | 10 #include "testing/gtest/include/gtest/gtest.h" |
11 #include "webkit/fileapi/isolated_context.h" | 11 #include "webkit/fileapi/external_mount_points.h" |
12 #include "webkit/fileapi/syncable/canned_syncable_file_system.h" | 12 #include "webkit/fileapi/syncable/canned_syncable_file_system.h" |
13 #include "webkit/fileapi/syncable/local_file_sync_context.h" | 13 #include "webkit/fileapi/syncable/local_file_sync_context.h" |
14 | 14 |
15 namespace fileapi { | 15 namespace fileapi { |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
19 const char kSyncableFileSystemRootURI[] = | 19 const char kSyncableFileSystemRootURI[] = |
20 "filesystem:http://www.example.com/external/service/"; | 20 "filesystem:http://www.example.com/external/service/"; |
21 const char kNonRegisteredFileSystemRootURI[] = | 21 const char kNonRegisteredFileSystemRootURI[] = |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 | 136 |
137 // Shutting down. | 137 // Shutting down. |
138 file_system.TearDown(); | 138 file_system.TearDown(); |
139 RevokeSyncableFileSystem(kServiceName); | 139 RevokeSyncableFileSystem(kServiceName); |
140 sync_context->ShutdownOnUIThread(); | 140 sync_context->ShutdownOnUIThread(); |
141 sync_context = NULL; | 141 sync_context = NULL; |
142 MessageLoop::current()->RunUntilIdle(); | 142 MessageLoop::current()->RunUntilIdle(); |
143 } | 143 } |
144 | 144 |
145 } // namespace fileapi | 145 } // namespace fileapi |
OLD | NEW |