summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/extensions/drive_test_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/extensions/drive_test_util.h')
-rw-r--r--chrome/browser/chromeos/extensions/drive_test_util.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/extensions/drive_test_util.h b/chrome/browser/chromeos/extensions/drive_test_util.h
new file mode 100644
index 0000000..049bcc0
--- /dev/null
+++ b/chrome/browser/chromeos/extensions/drive_test_util.h
@@ -0,0 +1,19 @@
+// 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_EXTENSIONS_DRIVE_TEST_UTIL_H_
+#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_DRIVE_TEST_UTIL_H_
+
+class Profile;
+
+namespace drive_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 drive_test_util
+
+#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_DRIVE_TEST_UTIL_H_