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 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_DRIVE_TEST_UTIL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_MOUNT_TEST_UTIL_H_ |
6 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_DRIVE_TEST_UTIL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_MOUNT_TEST_UTIL_H_ |
7 | 7 |
8 class Profile; | 8 class Profile; |
9 | 9 |
10 namespace file_manager { | 10 namespace file_manager { |
11 namespace test_util { | 11 namespace test_util { |
12 | 12 |
13 // Waits until Drive mount point for |profile| is added. Drive mount point is | 13 // Waits until Drive mount point for |profile| is added. Drive mount point is |
14 // added by the browser but tests should use this function to ensure that the | 14 // added by the browser but tests should use this function to ensure that the |
15 // Drive mount point is added before accessing Drive. | 15 // Drive mount point is added before accessing Drive. |
16 void WaitUntilDriveMountPointIsAdded(Profile* profile); | 16 void WaitUntilDriveMountPointIsAdded(Profile* profile); |
17 | 17 |
18 } // namespace test_util | 18 } // namespace test_util |
19 } // namespace file_manager | 19 } // namespace file_manager |
20 | 20 |
21 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_DRIVE_TEST_UTIL_H_ | 21 #endif // CHROME_BROWSER_CHROMEOS_FILE_MANAGER_MOUNT_TEST_UTIL_H_ |
OLD | NEW |