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

Unified Diff: chrome/browser/password_manager/password_store_win_unittest.cc

Issue 8438034: Moving the SignalingTask class to base/test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Addressed comments Created 9 years, 1 month 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/password_manager/password_store_win_unittest.cc
===================================================================
--- chrome/browser/password_manager/password_store_win_unittest.cc (revision 107928)
+++ chrome/browser/password_manager/password_store_win_unittest.cc (working copy)
@@ -12,6 +12,7 @@
#include "base/scoped_temp_dir.h"
#include "base/stl_util.h"
#include "base/synchronization/waitable_event.h"
+#include "base/test/signaling_task.h"
#include "base/time.h"
#include "chrome/browser/password_manager/ie7_password.h"
#include "chrome/browser/password_manager/password_form_data.h"
@@ -20,7 +21,6 @@
#include "chrome/browser/prefs/pref_service.h"
#include "chrome/browser/webdata/web_data_service.h"
#include "chrome/common/pref_names.h"
-#include "chrome/test/base/signaling_task.h"
#include "chrome/test/base/testing_profile.h"
#include "content/test/test_browser_thread.h"
#include "testing/gmock/include/gmock/gmock.h"
@@ -165,7 +165,7 @@
// task to notify us that it's safe to carry on with the test.
WaitableEvent done(false, false);
BrowserThread::PostTask(BrowserThread::DB, FROM_HERE,
- new SignalingTask(&done));
+ new base::SignalingTask(&done));
done.Wait();
// Prentend that the migration has already taken place.
@@ -277,7 +277,7 @@
// task to notify us that it's safe to carry on with the test.
WaitableEvent done(false, false);
BrowserThread::PostTask(BrowserThread::DB, FROM_HERE,
- new SignalingTask(&done));
+ new base::SignalingTask(&done));
done.Wait();
// Prentend that the migration has already taken place.
@@ -433,7 +433,7 @@
// task to notify us that it's safe to carry on with the test.
WaitableEvent done(false, false);
BrowserThread::PostTask(BrowserThread::DB, FROM_HERE,
- new SignalingTask(&done));
+ new base::SignalingTask(&done));
done.Wait();
// Initializing the PasswordStore should trigger a migration.
@@ -448,7 +448,7 @@
// Again, the WDS schedules tasks to run on the DB thread, so schedule a task
// to signal us when it is safe to continue.
BrowserThread::PostTask(BrowserThread::DB, FROM_HERE,
- new SignalingTask(&done));
+ new base::SignalingTask(&done));
done.Wait();
// Let the WDS callbacks proceed so the logins can be migrated.
@@ -493,7 +493,7 @@
// Wait for the WDS methods to execute on the DB thread.
BrowserThread::PostTask(BrowserThread::DB, FROM_HERE,
- new SignalingTask(&done));
+ new base::SignalingTask(&done));
done.Wait();
// Handle the callback from the WDS.
@@ -507,7 +507,7 @@
// Wait for the WDS methods to execute on the DB thread.
BrowserThread::PostTask(BrowserThread::DB, FROM_HERE,
- new SignalingTask(&done));
+ new base::SignalingTask(&done));
done.Wait();
// Handle the callback from the WDS.

Powered by Google App Engine
This is Rietveld 408576698