Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Unified Diff: chrome/test/ui/ui_test.h

Issue 62117: linux: pass a bunch more ui tests. (Closed)
Patch Set: more tests Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/temp_scaffolding_stubs.cc ('k') | chrome/test/ui/ui_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ui/ui_test.h
diff --git a/chrome/test/ui/ui_test.h b/chrome/test/ui/ui_test.h
index c059ded27139922f705716903845339745f78eb7..75ecae27bfa68be2e6bc349a55af69816f50c107 100644
--- a/chrome/test/ui/ui_test.h
+++ b/chrome/test/ui/ui_test.h
@@ -63,9 +63,14 @@ class UITest : public testing::Test {
// ********* Utility functions *********
- // Tries to delete the specified file/directory returning true on success.
- // This differs from file_util::Delete in that it repeatedly invokes Delete
- // until successful, or a timeout is reached. Returns true on success.
+ // Tries to delete the specified file/directory returning true on
+ // success. This differs from file_util::Delete in that it
+ // repeatedly invokes Delete until successful, or a timeout is
+ // reached. (This retrying is to work around Windows file locks
+ // and shouldn't be necessary on POSIX, but it can't hurt.)
+ // Returns true on success.
+ bool DieFileDie(const FilePath& file, bool recurse);
+ // Deprecated backwards-compat version.
bool DieFileDie(const std::wstring& file, bool recurse);
// Launches the browser and IPC testing server.
« no previous file with comments | « chrome/common/temp_scaffolding_stubs.cc ('k') | chrome/test/ui/ui_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698