Home | History | Annotate | Download | only in file_manager
      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
      3 // found in the LICENSE file.
      4 
      5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_DRIVE_TEST_UTIL_H_
      6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_DRIVE_TEST_UTIL_H_
      7 
      8 class Profile;
      9 
     10 namespace file_manager {
     11 namespace test_util {
     12 
     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
     15 // Drive mount point is added before accessing Drive.
     16 void WaitUntilDriveMountPointIsAdded(Profile* profile);
     17 
     18 }  // namespace test_util
     19 }  // namespace file_manager
     20 
     21 #endif  // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_DRIVE_TEST_UTIL_H_
     22