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

Unified Diff: chrome/browser/process_singleton_uitest.cc

Issue 6042009: Added WARN_UNUSED_RESULT to ScopedTempDir methods. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Whitespace fix Created 9 years, 11 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
Index: chrome/browser/process_singleton_uitest.cc
diff --git a/chrome/browser/process_singleton_uitest.cc b/chrome/browser/process_singleton_uitest.cc
index 235f18129536e60ed5232ebe41d42e0e33dd4f22..d50e55f85ac5eeef02b57750c9368469085782ed 100644
--- a/chrome/browser/process_singleton_uitest.cc
+++ b/chrome/browser/process_singleton_uitest.cc
@@ -136,7 +136,8 @@ class ProcessSingletonTest : public UITest {
// We use a manual reset so that all threads wake up at once when signaled
// and thus we must manually reset it for each attempt.
: threads_waker_(true /* manual */, false /* signaled */) {
- temp_profile_dir_.CreateUniqueTempDir();
+ if (!temp_profile_dir_.CreateUniqueTempDir())
Paweł Hajdan Jr. 2011/01/11 13:01:10 nit: How about just EXPECT_TRUE? Should have the s
cbentzel 2011/01/11 19:56:38 Done.
+ ADD_FAILURE();
}
void SetUp() {

Powered by Google App Engine
This is Rietveld 408576698