| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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/chromeos/file_manager/drive_test_util.h" | 5 #include "chrome/browser/chromeos/file_manager/mount_test_util.h" |
| 6 | 6 |
| 7 #include "base/run_loop.h" | 7 #include "base/run_loop.h" |
| 8 #include "chrome/browser/chromeos/drive/drive_integration_service.h" | 8 #include "chrome/browser/chromeos/drive/drive_integration_service.h" |
| 9 | 9 |
| 10 namespace file_manager { | 10 namespace file_manager { |
| 11 namespace test_util { | 11 namespace test_util { |
| 12 | 12 |
| 13 namespace { | 13 namespace { |
| 14 | 14 |
| 15 // Helper class used to wait for |OnFileSystemMounted| event from a drive file | 15 // Helper class used to wait for |OnFileSystemMounted| event from a drive file |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 return; | 64 return; |
| 65 | 65 |
| 66 DriveMountPointWaiter mount_point_waiter(integration_service); | 66 DriveMountPointWaiter mount_point_waiter(integration_service); |
| 67 VLOG(1) << "Waiting for drive mount point to get mounted."; | 67 VLOG(1) << "Waiting for drive mount point to get mounted."; |
| 68 mount_point_waiter.Wait(); | 68 mount_point_waiter.Wait(); |
| 69 VLOG(1) << "Drive mount point found."; | 69 VLOG(1) << "Drive mount point found."; |
| 70 } | 70 } |
| 71 | 71 |
| 72 } // namespace test_util | 72 } // namespace test_util |
| 73 } // namespace file_manager | 73 } // namespace file_manager |
| OLD | NEW |