summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/file_manager/drive_test_util.h
blob: fb98cd432e16144d62f2de6fc6206e817a0b5dd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_CHROMEOS_FILE_MANAGER_DRIVE_TEST_UTIL_H_
#define CHROME_BROWSER_CHROMEOS_FILE_MANAGER_DRIVE_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_CHROMEOS_FILE_MANAGER_DRIVE_TEST_UTIL_H_