chromium/chrome/browser/ash/file_manager/mount_test_util.h

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_ASH_FILE_MANAGER_MOUNT_TEST_UTIL_H_
#define CHROME_BROWSER_ASH_FILE_MANAGER_MOUNT_TEST_UTIL_H_

class Profile;

namespace file_manager {
namespace test_util {

// Waits until Drive mount point for |profile| is added. Drive mount point is
// added by the browser but tests should use this function to ensure that the
// Drive mount point is added before accessing Drive.
void WaitUntilDriveMountPointIsAdded(Profile* profile);

}  // namespace test_util
}  // namespace file_manager

#endif  // CHROME_BROWSER_ASH_FILE_MANAGER_MOUNT_TEST_UTIL_H_